author | mickeyl <mickeyl> | 2005-02-04 17:45:50 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-02-04 17:45:50 (UTC) |
commit | c0248a2c02381b5a5dce5c4543db6ff46486f2f1 (patch) (side-by-side diff) | |
tree | d0aa40497fe90875a273d2e0dbbfc65608f23b43 /libopie2/opiecore/oinputsystem.h | |
parent | 276022cd2a84f531bbf727c34d76420d8195512d (diff) | |
download | opie-c0248a2c02381b5a5dce5c4543db6ff46486f2f1.zip opie-c0248a2c02381b5a5dce5c4543db6ff46486f2f1.tar.gz opie-c0248a2c02381b5a5dce5c4543db6ff46486f2f1.tar.bz2 |
use a sane method to discover valid device nodes
Diffstat (limited to 'libopie2/opiecore/oinputsystem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/oinputsystem.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/libopie2/opiecore/oinputsystem.h b/libopie2/opiecore/oinputsystem.h index 7919610..6f822a1 100644 --- a/libopie2/opiecore/oinputsystem.h +++ b/libopie2/opiecore/oinputsystem.h @@ -79,8 +79,8 @@ class OInputSystem : public QObject * @internal destructor - */ + */ ~OInputSystem(); - + protected: OInputSystem(); - + static OInputSystem* _instance; @@ -91,3 +91,3 @@ class OInputSystem : public QObject class OInputDevice : public QObject -{ +{ public: @@ -96,4 +96,4 @@ class OInputDevice : public QObject - #include "oinputsystemenums.h" - + #include "oinputsystemenums.h" + public: @@ -125,3 +125,8 @@ class OInputDevice : public QObject QString globalKeyMask() const; - + /** + * @internal + * @returns whether a certain @a path corresponds to an input device + */ + static bool isValid( const QString& path ); + private: |