author | mickeyl <mickeyl> | 2004-11-16 19:14:18 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-16 19:14:18 (UTC) |
commit | ea3945a9bd8f9830f70b1efa133f9df13b19362f (patch) (side-by-side diff) | |
tree | f2ea22cc50e9aa8aa73ee7dea148f41c563c9666 /noncore/unsupported/libopie/pim/opimxref.h | |
parent | 1c6f490e8541626f68422e0a3a7c7281d7f5b7d3 (diff) | |
download | opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.zip opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.gz opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.bz2 |
libopie1 goes into unsupported
Diffstat (limited to 'noncore/unsupported/libopie/pim/opimxref.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/libopie/pim/opimxref.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/unsupported/libopie/pim/opimxref.h b/noncore/unsupported/libopie/pim/opimxref.h new file mode 100644 index 0000000..6852651 --- a/dev/null +++ b/noncore/unsupported/libopie/pim/opimxref.h @@ -0,0 +1,39 @@ +#ifndef OPIM_XREF_H +#define OPIM_XREF_H + +#include <qarray.h> +#include <qvaluelist.h> + +#include <opie/opimxrefpartner.h> + +/** + * this is a Cross Referecne between + * two Cross Reference Partners + */ +class OPimXRef { +public: + typedef QValueList<OPimXRef> ValueList; + enum Partners { One, Two }; + OPimXRef( const OPimXRefPartner& ONE, const OPimXRefPartner& ); + OPimXRef(); + OPimXRef( const OPimXRef& ); + ~OPimXRef(); + + OPimXRef &operator=( const OPimXRef& ); + bool operator==( const OPimXRef& ); + + OPimXRefPartner partner( enum Partners )const; + + void setPartner( enum Partners, const OPimXRefPartner& ); + + bool containsString( const QString& service)const; + bool containsUid( int uid )const; + +private: + QArray<OPimXRefPartner> m_partners; + + class Private; + Private *d; +}; + +#endif |