summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/devicehandler.h
authorzecke <zecke>2002-07-14 18:04:14 (UTC)
committer zecke <zecke>2002-07-14 18:04:14 (UTC)
commit26c7e63572e729b4846e4f7551bb041aa6d4bd83 (patch) (side-by-side diff)
tree5c3bc09142bd19e84fbebb88f2e37b02e6d603cd /noncore/net/opietooth/manager/devicehandler.h
parent31e233a6cf72bc853137ea05285f4d0f41665365 (diff)
downloadopie-26c7e63572e729b4846e4f7551bb041aa6d4bd83.zip
opie-26c7e63572e729b4846e4f7551bb041aa6d4bd83.tar.gz
opie-26c7e63572e729b4846e4f7551bb041aa6d4bd83.tar.bz2
- able to configure HCID
- able to save and restore known devices - able to scan servivces and shows the right pixmap too - able to do some more - scan dialog clean up ( tiny )
Diffstat (limited to 'noncore/net/opietooth/manager/devicehandler.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/devicehandler.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/devicehandler.h b/noncore/net/opietooth/manager/devicehandler.h
new file mode 100644
index 0000000..5cfe048
--- a/dev/null
+++ b/noncore/net/opietooth/manager/devicehandler.h
@@ -0,0 +1,41 @@
+
+#ifndef OPIE_TOOTH_DEVICE_HANDLER_H
+#define OPIE_TOOTH_DEVICE_HANDLER_H
+
+#include <qvaluelist.h>
+
+#include <remotedevice.h>
+
+namespace OpieTooth {
+ /**
+ * DeviceHandler is responsible for loading
+ * and saving devices from a config File
+ */
+ class DeviceHandler {
+ public:
+ /**
+ * c'tor
+ */
+ DeviceHandler();
+
+ /**
+ * d'tor
+ */
+ ~DeviceHandler();
+
+ /**
+ * loads from $HOME/Settings/bluetooth/ *
+ */
+ RemoteDevice::ValueList load();
+
+ /**
+ * Saves to $HOME/Settings/bluetooth
+ */
+ void save( const RemoteDevice::ValueList & );
+
+ };
+
+
+};
+
+#endif