N9profile
[n9profile] / profiledeamon.h
diff --git a/profiledeamon.h b/profiledeamon.h
new file mode 100644 (file)
index 0000000..f3a49c3
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef PROFILEDEAMON_H
+#define PROFILEDEAMON_H
+/*! \file profiledeamon.h
+    \brief File .H for class  ProfileDeamon
+\author Jakub Šplíchal <jakub.bzouk@gmail.com>
+Header file
+*/
+#include <QtCore/QObject>
+
+class Profil;
+class QDBusMessage;
+/*!
+  \class ProfileDeamon
+  \brief Class for configuring profiles
+  Class set profiles, N900 includes only the two profiles, "general" and "Silent"
+*/
+class ProfileDeamon : public QObject
+{
+    Q_OBJECT
+public:
+    ProfileDeamon(QObject *parent = 0);
+    ~ProfileDeamon();
+
+    bool SetProfile( Profil * profil);
+    Profil GetProfile(QString profil_name);
+    bool ConnectToDeamon();
+};
+
+#endif // PROFILEDEAMON_H