From 7484344ff5be1f7c54e51715776d0e3cadeb1ed0 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 18 Nov 2004 21:45:49 +0000 Subject: Big PIM API Update Core Part (1/2 of what should be implemented): OPimRecords: -Add a so called safeCast using the rtti value OPimTodo: -Fix memleak with OPimState OPimOccurrence: -New class. Every 'Access' can give occurrences for a period of time Move Documentation --- (limited to 'libopie2/opiepim/core/opimrecord.h') diff --git a/libopie2/opiepim/core/opimrecord.h b/libopie2/opiepim/core/opimrecord.h index 127439a..363cc78 100644 --- a/libopie2/opiepim/core/opimrecord.h +++ b/libopie2/opiepim/core/opimrecord.h @@ -32,6 +32,8 @@ /* OPIE */ #include +#include + /* * we need to get customMap which is private... */ @@ -60,7 +62,7 @@ class OPimRecord : public Qtopia::Record * uid of 0 isEmpty * uid of 1 will be assigned a new one */ - OPimRecord( int uid = 0 ); + OPimRecord( UID uid = 0 ); ~OPimRecord(); /** @@ -138,10 +140,15 @@ class OPimRecord : public Qtopia::Record QMap toExtraMap() const; void setExtraMap( const QMap& ); +//@{ /** * the name for a recordField */ - virtual QString recordField( int ) const = 0; + virtual QString recordField( int ) const = 0; +// virtual QArray recordAttributes()const = 0; +// virtual QMap recordAttributesTranslated() const = 0; +// QString recordAttributeTranslated(int field)const; +//@} /** * returns a reference of the -- cgit v0.9.0.2