Set dms simulator can read from config file.
This commit is contained in:
@@ -543,3 +543,9 @@ QStringList JsonObject::getScreenSaverInfomation()
|
||||
{
|
||||
return QString(getJsonString("screensaver", "content")).split(";");
|
||||
}
|
||||
|
||||
|
||||
bool JsonObject::isDmsSimulator()
|
||||
{
|
||||
return getBool("dms","simulator");
|
||||
}
|
||||
|
||||
@@ -85,6 +85,7 @@ public:
|
||||
void setInterfaceName(const QString& name);
|
||||
|
||||
bool isDHCP();
|
||||
bool isDmsSimulator();
|
||||
void autoDHCP(bool);
|
||||
|
||||
bool getScanConfirm();
|
||||
|
||||
Reference in New Issue
Block a user