summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/opimglobal.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiepim/core/opimglobal.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimglobal.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/libopie2/opiepim/core/opimglobal.h b/libopie2/opiepim/core/opimglobal.h
index 3925c89..9d319a1 100644
--- a/libopie2/opiepim/core/opimglobal.h
+++ b/libopie2/opiepim/core/opimglobal.h
@@ -30,10 +30,22 @@
#define __OPIMGLOBAL_H_
+#include <qarray.h>
+
namespace Opie{
+
+/**
+ * The unique identifier for every
+ * PIM record. For now it is a negative
+ * int but we could change it to long or QUuid
+ * in the future
+ */
+typedef int UID;
+typedef QArray<UID> UIDArray;
+
namespace Pim{
- /**
- * Contains global types and enums for the PIM-API
+ /**
+ * Contains global types and enums for the PIM-API
*/
class OPimGlobal{
@@ -45,5 +57,5 @@ class OPimGlobal{
_END_PimType
};
-
+
enum DatabaseStyle {
DEFAULT, // Use default Database