Diffstat (limited to 'libopie2/opiepim/core/opimmaintainer.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimmaintainer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie2/opiepim/core/opimmaintainer.h b/libopie2/opiepim/core/opimmaintainer.h index 46bc9d2..e7e7eeb 100644 --- a/libopie2/opiepim/core/opimmaintainer.h +++ b/libopie2/opiepim/core/opimmaintainer.h | |||
@@ -1,63 +1,64 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | Copyright (C) The Main Author <main-author@whereever.org> | 3 | Copyright (C) The Main Author <main-author@whereever.org> |
4 | =. Copyright (C) The Opie Team <opie-devel@handhelds.org> | 4 | =. Copyright (C) The Opie Team <opie-devel@handhelds.org> |
5 | .=l. | 5 | .=l. |
6 | .>+-= | 6 | .>+-= |
7 | _;:, .> :=|. This program is free software; you can | 7 | _;:, .> :=|. This program is free software; you can |
8 | .> <`_, > . <= redistribute it and/or modify it under | 8 | .> <`_, > . <= redistribute it and/or modify it under |
9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
10 | .="- .-=="i, .._ License as published by the Free Software | 10 | .="- .-=="i, .._ License as published by the Free Software |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 11 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | ._= =} : or (at your option) any later version. | 12 | ._= =} : or (at your option) any later version. |
13 | .%`+i> _;_. | 13 | .%`+i> _;_. |
14 | .i_,=:_. -<s. This program is distributed in the hope that | 14 | .i_,=:_. -<s. This program is distributed in the hope that |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | : .. .:, . . . without even the implied warranty of | 16 | : .. .:, . . . without even the implied warranty of |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
19 | ..}^=.= = ; Library General Public License for more | 19 | ..}^=.= = ; Library General Public License for more |
20 | ++= -. .` .: details. | 20 | ++= -. .` .: details. |
21 | : = ...= . :.=- | 21 | : = ...= . :.=- |
22 | -. .:....=;==+<; You should have received a copy of the GNU | 22 | -. .:....=;==+<; You should have received a copy of the GNU |
23 | -_. . . )=. = Library General Public License along with | 23 | -_. . . )=. = Library General Public License along with |
24 | -- :-=` this library; see the file COPYING.LIB. | 24 | -- :-=` this library; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 25 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | */ | 28 | */ |
29 | #ifndef OPIE_PIM_MAINTAINER_H | 29 | #ifndef OPIMMAINTAINER_H |
30 | #define OPIE_PIM_MAINTAINER_H | 30 | #define OPIMMAINTAINER_H |
31 | 31 | ||
32 | /* QT */ | ||
32 | #include <qstring.h> | 33 | #include <qstring.h> |
33 | 34 | ||
34 | namespace Opie { | 35 | namespace Opie { |
35 | /** | 36 | /** |
36 | * Who maintains what? | 37 | * Who maintains what? |
37 | */ | 38 | */ |
38 | class OPimMaintainer { | 39 | class OPimMaintainer { |
39 | public: | 40 | public: |
40 | enum Mode { Undefined = -1, | 41 | enum Mode { Undefined = -1, |
41 | Nothing = 0, | 42 | Nothing = 0, |
42 | Responsible, | 43 | Responsible, |
43 | DoneBy, | 44 | DoneBy, |
44 | Coordinating, | 45 | Coordinating, |
45 | }; | 46 | }; |
46 | OPimMaintainer( int mode = Undefined, int uid = 0); | 47 | OPimMaintainer( int mode = Undefined, int uid = 0); |
47 | OPimMaintainer( const OPimMaintainer& ); | 48 | OPimMaintainer( const OPimMaintainer& ); |
48 | ~OPimMaintainer(); | 49 | ~OPimMaintainer(); |
49 | 50 | ||
50 | OPimMaintainer &operator=( const OPimMaintainer& ); | 51 | OPimMaintainer &operator=( const OPimMaintainer& ); |
51 | bool operator==( const OPimMaintainer& ); | 52 | bool operator==( const OPimMaintainer& ); |
52 | bool operator!=( const OPimMaintainer& ); | 53 | bool operator!=( const OPimMaintainer& ); |
53 | 54 | ||
54 | 55 | ||
55 | int mode()const; | 56 | int mode()const; |
56 | int uid()const; | 57 | int uid()const; |
57 | 58 | ||
58 | void setMode( int mode ); | 59 | void setMode( int mode ); |
59 | void setUid( int uid ); | 60 | void setUid( int uid ); |
60 | 61 | ||
61 | private: | 62 | private: |
62 | int m_mode; | 63 | int m_mode; |
63 | int m_uid; | 64 | int m_uid; |