summaryrefslogtreecommitdiff
path: root/noncore/unsupported/libopie/pim/opimmaintainer.h
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/libopie/pim/opimmaintainer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/libopie/pim/opimmaintainer.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/unsupported/libopie/pim/opimmaintainer.h b/noncore/unsupported/libopie/pim/opimmaintainer.h
new file mode 100644
index 0000000..793d066
--- a/dev/null
+++ b/noncore/unsupported/libopie/pim/opimmaintainer.h
@@ -0,0 +1,40 @@
+#ifndef OPIE_PIM_MAINTAINER_H
+#define OPIE_PIM_MAINTAINER_H
+
+#include <qstring.h>
+
+/**
+ * Who maintains what?
+ */
+class OPimMaintainer {
+public:
+ enum Mode { Undefined = -1,
+ Nothing = 0,
+ Responsible,
+ DoneBy,
+ Coordinating,
+ };
+ OPimMaintainer( int mode = Undefined, int uid = 0);
+ OPimMaintainer( const OPimMaintainer& );
+ ~OPimMaintainer();
+
+ OPimMaintainer &operator=( const OPimMaintainer& );
+ bool operator==( const OPimMaintainer& );
+ bool operator!=( const OPimMaintainer& );
+
+
+ int mode()const;
+ int uid()const;
+
+ void setMode( int mode );
+ void setUid( int uid );
+
+private:
+ int m_mode;
+ int m_uid;
+ class Private;
+ Private *d;
+
+};
+
+#endif