-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] : add a threaded import dialog
- Loading branch information
Showing
23 changed files
with
416 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#include <Abstract/Base.h> | ||
#include <ctools/cTools.h> | ||
|
||
bool parseDescription(const std::string& vDesc, // | ||
std::string& vOutEntity, | ||
std::string& vOutOperation, | ||
std::string& vOutDescription) { | ||
bool ret = false; | ||
if (!vDesc.empty()) { | ||
vOutDescription = vDesc; | ||
const auto first_not_space_pos = vOutDescription.find_first_not_of(' '); | ||
if (first_not_space_pos != std::string::npos) { | ||
auto space_pos = vOutDescription.find(' ', first_not_space_pos); | ||
if (space_pos != std::string::npos) { | ||
vOutOperation = vOutDescription.substr(first_not_space_pos, space_pos - first_not_space_pos); | ||
++space_pos; // inc from ' ' | ||
const auto first_slash_pos = vOutDescription.find('/', space_pos); | ||
if (first_slash_pos != std::string::npos) { | ||
const auto end_space_pos = vOutDescription.rfind(' ', first_slash_pos); | ||
if (end_space_pos != std::string::npos) { | ||
vOutEntity = vOutDescription.substr(space_pos, end_space_pos - space_pos); | ||
} | ||
} | ||
if (vOutEntity.empty()) { | ||
vOutEntity = vOutDescription.substr(space_pos); | ||
} | ||
} | ||
} | ||
while (ct::replaceString(vOutEntity, " ", " ")) { | ||
} | ||
while (ct::replaceString(vOutOperation, " ", " ")) { | ||
} | ||
while (ct::replaceString(vOutDescription, " ", " ")) { | ||
} | ||
if (vOutDescription.front() == ' ') { | ||
vOutDescription = vOutDescription.substr(1); | ||
} | ||
if (vOutDescription.back() == ' ') { | ||
vOutDescription = vOutDescription.substr(0, vOutDescription.size() - 1U); | ||
} | ||
ret = true; | ||
} | ||
return ret; | ||
} | ||
|
||
bool Base::init(Cash::PluginBridge* vBridgePtr) { | ||
return true; | ||
}; | ||
|
||
void Base::unit() { | ||
}; | ||
|
||
std::string Base::getFileExt() const { | ||
return ""; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#pragma once | ||
|
||
#define LCLBroker_Prefix "LCLBroker" | ||
#define LCLBroker_BuildNumber 249 | ||
#define LCLBroker_BuildNumber 260 | ||
#define LCLBroker_MinorNumber 0 | ||
#define LCLBroker_MajorNumber 0 | ||
#define LCLBroker_BuildId "0.0.249" | ||
#define LCLBroker_BuildId "0.0.260" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#pragma once | ||
|
||
#define CashMe_Prefix "CashMe" | ||
#define CashMe_BuildNumber 533 | ||
#define CashMe_BuildNumber 544 | ||
#define CashMe_MinorNumber 0 | ||
#define CashMe_MajorNumber 0 | ||
#define CashMe_BuildId "0.0.533" | ||
#define CashMe_BuildId "0.0.544" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.