Diffstat (limited to 'libopie2/opiepim/core/opimxrefmanager.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimxrefmanager.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libopie2/opiepim/core/opimxrefmanager.h b/libopie2/opiepim/core/opimxrefmanager.h index fa2d7f4..b80a645 100644 --- a/libopie2/opiepim/core/opimxrefmanager.h +++ b/libopie2/opiepim/core/opimxrefmanager.h | |||
@@ -5,55 +5,58 @@ | |||
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 OPIM_XREF_MANAGER_H | ||
30 | #define OPIM_XREF_MANAGER_H | ||
31 | 29 | ||
32 | #include <qstringlist.h> | 30 | #ifndef OPIMXREFMANAGER_H |
31 | #define OPIMXREFMANAGER_H | ||
33 | 32 | ||
33 | /* OPIE */ | ||
34 | #include <opie2/opimxref.h> | 34 | #include <opie2/opimxref.h> |
35 | 35 | ||
36 | /* QT */ | ||
37 | #include <qstringlist.h> | ||
38 | |||
36 | namespace Opie { | 39 | namespace Opie { |
37 | /** | 40 | /** |
38 | * This is a simple manager for | 41 | * This is a simple manager for |
39 | * OPimXRefs. | 42 | * OPimXRefs. |
40 | * It allows addition, removing, replacing | 43 | * It allows addition, removing, replacing |
41 | * clearing and 'querying' the XRef... | 44 | * clearing and 'querying' the XRef... |
42 | */ | 45 | */ |
43 | class OPimXRefManager { | 46 | class OPimXRefManager { |
44 | public: | 47 | public: |
45 | OPimXRefManager(); | 48 | OPimXRefManager(); |
46 | OPimXRefManager( const OPimXRefManager& ); | 49 | OPimXRefManager( const OPimXRefManager& ); |
47 | ~OPimXRefManager(); | 50 | ~OPimXRefManager(); |
48 | 51 | ||
49 | OPimXRefManager& operator=( const OPimXRefManager& ); | 52 | OPimXRefManager& operator=( const OPimXRefManager& ); |
50 | bool operator==( const OPimXRefManager& ); | 53 | bool operator==( const OPimXRefManager& ); |
51 | 54 | ||
52 | void add( const OPimXRef& ); | 55 | void add( const OPimXRef& ); |
53 | void remove( const OPimXRef& ); | 56 | void remove( const OPimXRef& ); |
54 | void replace( const OPimXRef& ); | 57 | void replace( const OPimXRef& ); |
55 | 58 | ||
56 | void clear(); | 59 | void clear(); |
57 | 60 | ||
58 | /** | 61 | /** |
59 | * apps participating | 62 | * apps participating |