summaryrefslogtreecommitdiff
path: root/daemon/appinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/appinfo.h')
-rw-r--r--daemon/appinfo.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/daemon/appinfo.h b/daemon/appinfo.h
index 2048c38..2991345 100644
--- a/daemon/appinfo.h
+++ b/daemon/appinfo.h
@@ -24,8 +24,10 @@ public:
Q_DECLARE_FLAGS(Capabilities, Capability)
enum File {
+ INFO,
BINARY,
- RESOURCES
+ RESOURCES,
+ APPJS
};
Q_PROPERTY(bool local READ isLocal)
@@ -75,7 +77,7 @@ public:
QByteArray getMenuIconPng() const;
QString getJSApp() const;
- QString filePath(enum File) const;
+ QIODevice *openFile(enum File) const;
void setInvalid();