summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/core/opimglobal.h
Side-by-side diff
Diffstat (limited to 'libopie2/opiepim/core/opimglobal.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiepim/core/opimglobal.h12
1 files changed, 12 insertions, 0 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
@@ -26,13 +26,25 @@
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef __OPIMGLOBAL_H_
#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
*/