diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2015-01-11 00:08:59 +0100 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2015-01-11 00:08:59 +0100 |
| commit | f92941ec79d8ddaf772a7f1e21600c447af87ecd (patch) | |
| tree | 4c2ccf5d7dd9eb753c03a8ab40e63b518a4e5ed5 /daemon/appinfo.h | |
| parent | c1230f9c89218e4c47a21aac20f2593fbd751224 (diff) | |
Moved all Pebble App file access to AppInfo
Diffstat (limited to 'daemon/appinfo.h')
| -rw-r--r-- | daemon/appinfo.h | 6 |
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(); |
