author | zecke <zecke> | 2002-11-15 11:37:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-11-15 11:37:20 (UTC) |
commit | ab8d331905b59a86b50cd513123cdde67e4bfb8a (patch) (unidiff) | |
tree | 38a0d3a04cd0f594fbf58644447e985e8385f5b0 /libopie/pim/opimxrefmanager.h | |
parent | dc68676392f6ac7cced3a9b004fe72a8b408812f (diff) | |
download | opie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.zip opie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.tar.gz opie-ab8d331905b59a86b50cd513123cdde67e4bfb8a.tar.bz2 |
Add proposal header for Cross Referencing..
look at them and comment
Diffstat (limited to 'libopie/pim/opimxrefmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/pim/opimxrefmanager.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libopie/pim/opimxrefmanager.h b/libopie/pim/opimxrefmanager.h new file mode 100644 index 0000000..147895d --- a/dev/null +++ b/libopie/pim/opimxrefmanager.h | |||
@@ -0,0 +1,36 @@ | |||
1 | #ifndef OPIM_XREF_MANAGER_H | ||
2 | #define OPIM_XREF_MANAGER_H | ||
3 | |||
4 | #include <opie/opimxref.h> | ||
5 | |||
6 | /** | ||
7 | * This is a simple manager for | ||
8 | * OPimXRefs. | ||
9 | * It allows addition, removing, replacing | ||
10 | * clearing and 'querying' the XRef... | ||
11 | */ | ||
12 | class OPimXRefManager { | ||
13 | public: | ||
14 | OPimXRefManager(); | ||
15 | OPimXRefManager( const OPimXRefManager& ); | ||
16 | ~OPimXRefManager(); | ||
17 | |||
18 | OPimXRefManager& operator=( const OPimXRefManager& ); | ||
19 | bool operator==( const OPimXRefManager& ); | ||
20 | |||
21 | void add( const OPimXRef& ); | ||
22 | void remove( const OPimXRef& ); | ||
23 | void replace( const OPimXRef& ); | ||
24 | |||
25 | void clear(); | ||
26 | |||
27 | /** | ||
28 | * apps participating | ||
29 | */ | ||
30 | QStringList apps()const; | ||
31 | OPimXRef::ValueList list()const; | ||
32 | OPimXRef::ValueList list( const QString& appName )const; | ||
33 | OPimXRef::ValueList list( int uid )const; | ||
34 | }; | ||
35 | |||
36 | #endif | ||