From f92941ec79d8ddaf772a7f1e21600c447af87ecd Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Sun, 11 Jan 2015 00:08:59 +0100 Subject: Moved all Pebble App file access to AppInfo --- daemon/appinfo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'daemon/appinfo.h') 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(); -- cgit v1.2.3