PIValueTree add attributes

This commit is contained in:
2022-12-20 16:10:38 +03:00
parent 2732595efe
commit 81cbf905ba
3 changed files with 5 additions and 1 deletions

View File

@@ -189,7 +189,7 @@ bool PIBinaryLog::threadedRead(const uchar * readed, ssize_t size) {
piMSleep(100); // TODO: rewrite with condvar
return false;
} else if (pause_time > PISystemTime()) {
startlogtime += pause_time;
// startlogtime += pause_time;
pause_time = PISystemTime();
}
pausemutex.unlock();

View File

@@ -51,6 +51,8 @@ const char PIValueTree::Attribute::style [] = "style" ;
const char PIValueTree::Attribute::filter [] = "filter" ;
const char PIValueTree::Attribute::absolutePath [] = "absolutePath" ;
const char PIValueTree::Attribute::onlyExisting [] = "onlyExisting" ;
const char PIValueTree::Attribute::widgetType [] = "widgetType" ;
const char PIValueTree::Attribute::expression [] = "expression" ;
// clang-format on

View File

@@ -61,6 +61,8 @@ public:
static const char filter [];
static const char absolutePath [];
static const char onlyExisting [];
static const char widgetType [];
static const char expression [];
//static constexpr char attribute[] = "";
// clang-format on
};