From ab8d331905b59a86b50cd513123cdde67e4bfb8a Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 15 Nov 2002 11:37:20 +0000 Subject: Add proposal header for Cross Referencing.. look at them and comment --- (limited to 'libopie2/opiepim/core/opimxref.h') 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 @@ +#ifndef OPIM_XREF_H +#define OPIM_XREF_H + +#include +#include + +#include + +/** + * this is a Cross Referecne between + * two Cross Reference Partners + */ +class OPimXRef { +public: + typedef QValueList 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 ); + + void setPartner( enum Partners, const OPimXRefPartner& ); + +private: + QArray m_partners; + + class Private; + Private *d; +}; + +#endif -- cgit v0.9.0.2