diff options
Diffstat (limited to 'src/application-lib/intentinfo.h')
-rw-r--r-- | src/application-lib/intentinfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application-lib/intentinfo.h b/src/application-lib/intentinfo.h index 08df4315..94b9d2b7 100644 --- a/src/application-lib/intentinfo.h +++ b/src/application-lib/intentinfo.h @@ -44,6 +44,8 @@ public: QMap<QString, QString> descriptions() const; QString icon() const; + bool handleOnlyWhenRunning() const; + void writeToDataStream(QDataStream &ds) const; static IntentInfo *readFromDataStream(PackageInfo *pkg, QDataStream &ds); @@ -60,6 +62,8 @@ private: QMap<QString, QString> m_descriptions; // language -> description QString m_icon; // relative to the manifest's location + bool m_handleOnlyWhenRunning = false; + friend class YamlPackageScanner; Q_DISABLE_COPY(IntentInfo) }; |