author | paule <paule> | 2007-02-07 10:14:11 (UTC) |
---|---|---|
committer | paule <paule> | 2007-02-07 10:14:11 (UTC) |
commit | d7a838e0f4352522fb2c12feea58129b16e76b89 (patch) (unidiff) | |
tree | 54a293a13b7bcf1d51869857c4350abcf3af06b1 /noncore/tools/remote/lirchandler.h | |
parent | 97b2152a21890f05a2217dddfcba6c820c00aa24 (diff) | |
download | opie-d7a838e0f4352522fb2c12feea58129b16e76b89.zip opie-d7a838e0f4352522fb2c12feea58129b16e76b89.tar.gz opie-d7a838e0f4352522fb2c12feea58129b16e76b89.tar.bz2 |
Add functions for handling /etc/lircd.conf; do basic check of /etc/lircd.conf before attempting to commit in order to avoid timeouts
Diffstat (limited to 'noncore/tools/remote/lirchandler.h') (more/less context) (show 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 | |||
@@ -20,2 +20,3 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
20 | #include <sys/un.h> | 20 | #include <sys/un.h> |
21 | #include <qfile.h> | ||
21 | 22 | ||
@@ -26,2 +27,4 @@ private: | |||
26 | const char *readPacket(); | 27 | const char *readPacket(); |
28 | bool readFromFile(QFile &file, QStringList &strlist); | ||
29 | bool writeToFile(QFile &file, QStringList &strlist); | ||
27 | 30 | ||
@@ -37,2 +40,3 @@ public: | |||
37 | bool isLircdRunning(void); | 40 | bool isLircdRunning(void); |
41 | void reloadLircdConf(void); | ||
38 | bool setupModules(void); | 42 | bool setupModules(void); |
@@ -40,2 +44,6 @@ public: | |||
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 | }; |