blob: 310e15aec7984ed7ef37c2ae3d26b0dbefa35546 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef OPIE_PIM_MAINTAINER_H
#define OPIE_PIM_MAINTAINER_H
#include <qstring.h>
/**
* Who maintains what?
*/
class OPimMaintainer {
public:
enum Mode { Undefined = -1,
Responsible = 0,
DoneBy,
Coordinating };
OPimMaintainer( enum Mode mode = Undefined, int uid = 0);
OPimMaintainer( const OPimMaintainer& );
~OPimMaintainer();
OPimMaintainer &operator=( const OPimMaintainer& );
bool operator==( const OPimMaintainer& );
bool operator!=( const OPimMaintainer& );
Mode mode()const;
int uid()const;
void setMode( enum Mode );
void setUid( int uid );
private:
Mode m_mode;
int m_uid;
};
#endif
|