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 /libopie2/opiepim/core/opimxref.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 'libopie2/opiepim/core/opimxref.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimxref.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libopie2/opiepim/core/opimxref.h b/libopie2/opiepim/core/opimxref.h new file mode 100644 index 0000000..72154ac --- a/dev/null +++ b/libopie2/opiepim/core/opimxref.h | |||
@@ -0,0 +1,36 @@ | |||
1 | #ifndef OPIM_XREF_H | ||
2 | #define OPIM_XREF_H | ||
3 | |||
4 | #include <qarray.h> | ||
5 | #include <qvaluelist.h> | ||
6 | |||
7 | #include <opie/opimxrefpartner.h> | ||
8 | |||
9 | /** | ||
10 | * this is a Cross Referecne between | ||
11 | * two Cross Reference Partners | ||
12 | */ | ||
13 | class OPimXRef { | ||
14 | public: | ||
15 | typedef QValueList<OPimXRef> ValueList; | ||
16 | enum Partners { One, Two }; | ||
17 | OPimXRef( const OPimXRefPartner& ONE, const OPimXRefPartner& ); | ||
18 | OPimXRef(); | ||
19 | OPimXRef( const OPimXRef& ); | ||
20 | ~OPimXRef(); | ||
21 | |||
22 | OPimXRef &operator=( const OPimXRef& ); | ||
23 | bool operator==( const OPimXRef ); | ||
24 | |||
25 | OPimXRefPartner partner( enum Partners ); | ||
26 | |||
27 | void setPartner( enum Partners, const OPimXRefPartner& ); | ||
28 | |||
29 | private: | ||
30 | QArray<OPimXRefPartner> m_partners; | ||
31 | |||
32 | class Private; | ||
33 | Private *d; | ||
34 | }; | ||
35 | |||
36 | #endif | ||