Diffstat (limited to 'noncore/tools/remote/lirchandler.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/remote/lirchandler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/tools/remote/lirchandler.h b/noncore/tools/remote/lirchandler.h index 4e56b6b..5ba14b7 100644 --- a/noncore/tools/remote/lirchandler.h +++ b/noncore/tools/remote/lirchandler.h | |||
@@ -18,12 +18,15 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
18 | #define LIRCHANDLER_H | 18 | #define LIRCHANDLER_H |
19 | 19 | ||
20 | #include <sys/un.h> | 20 | #include <sys/un.h> |
21 | #include <qfile.h> | ||
21 | 22 | ||
22 | class LircHandler | 23 | class LircHandler |
23 | { | 24 | { |
24 | private: | 25 | private: |
25 | bool connectLirc(void); | 26 | bool connectLirc(void); |
26 | const char *readPacket(); | 27 | const char *readPacket(); |
28 | bool readFromFile(QFile &file, QStringList &strlist); | ||
29 | bool writeToFile(QFile &file, QStringList &strlist); | ||
27 | 30 | ||
28 | struct sockaddr_un addr; | 31 | struct sockaddr_un addr; |
29 | int fd; | 32 | int fd; |
@@ -35,9 +38,14 @@ public: | |||
35 | bool startLircd(void); | 38 | bool startLircd(void); |
36 | bool stopLircd(void); | 39 | bool stopLircd(void); |
37 | bool isLircdRunning(void); | 40 | bool isLircdRunning(void); |
41 | void reloadLircdConf(void); | ||
38 | bool setupModules(void); | 42 | bool setupModules(void); |
39 | bool cleanupModules(void); | 43 | bool cleanupModules(void); |
40 | void disableIrDA(void); | 44 | void disableIrDA(void); |
45 | void mergeRemoteConfig(const QString &newconfig); | ||
46 | void removeRemote(const QString &remotetodelete); | ||
47 | bool checkRemoteExists(const QString &remote); | ||
48 | bool checkLircdConfValid(bool silent); | ||
41 | }; | 49 | }; |
42 | 50 | ||
43 | #endif | 51 | #endif |