git-svn-id: svn://db.shs.com.ru/libs@231 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -121,7 +121,7 @@ void CDCore::k_parse(PIIODevice * d) {
|
||||
void CDCore::k_update(PIIODevice * d) {
|
||||
CDSection uk = k_;
|
||||
k_parse(d);
|
||||
bool kn = false;
|
||||
bool kn = true;
|
||||
if (!uk.isEmpty())
|
||||
if (!uk.isSameStructure(k_)) {
|
||||
piCout << "ask for save names";
|
||||
@@ -131,6 +131,7 @@ void CDCore::k_update(PIIODevice * d) {
|
||||
//piCout << k_.count() << uk.count();
|
||||
k_ = uk;
|
||||
k_.makePath();
|
||||
k_.calculate();
|
||||
K_ChangedGlobal();
|
||||
}
|
||||
|
||||
@@ -188,6 +189,13 @@ void CDUtils::CDCore::dataReceived(const PIString & from, const PIByteArray & da
|
||||
}
|
||||
|
||||
|
||||
CDCore * CDCore::instance() {
|
||||
/*static CDCore * ret = new CDCore();
|
||||
return ret;*/
|
||||
return __Core_Initializer__::__instance__;
|
||||
}
|
||||
|
||||
|
||||
void CDCore::K_Send() {
|
||||
piCoutObj << "K_Send";
|
||||
PIByteArray ba;
|
||||
|
||||
Reference in New Issue
Block a user