diff options
Diffstat (limited to 'daemon/appinfo.cpp')
| -rw-r--r-- | daemon/appinfo.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/daemon/appinfo.cpp b/daemon/appinfo.cpp index 4397abc..587ed8b 100644 --- a/daemon/appinfo.cpp +++ b/daemon/appinfo.cpp @@ -3,6 +3,7 @@ #include "appinfo.h" struct AppInfoData : public QSharedData { + bool local; QUuid uuid; QString shortName; QString longName; @@ -20,6 +21,7 @@ struct AppInfoData : public QSharedData { AppInfo::AppInfo() : d(new AppInfoData) { + d->local = false; d->versionCode = 0; d->watchface = false; d->jskit = false; @@ -41,6 +43,16 @@ AppInfo::~AppInfo() { } +bool AppInfo::isLocal() const +{ + return d->local; +} + +void AppInfo::setLocal(const bool local) +{ + d->local = local; +} + QUuid AppInfo::uuid() const { return d->uuid; |
