00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef INCL_CLIENTNOTE
00020 #define INCL_CLIENTNOTE
00021
00026 #include "outlook/defs.h"
00027 #include "outlook/ClientItem.h"
00028
00029 #include <string>
00030
00031
00032
00038 class ClientNote : public ClientItem {
00039
00040 private:
00041
00043 _NoteItemPtr pNote;
00044
00045 bool isSecureProperty (const std::wstring& propertyName);
00046 bool isComplexProperty(const std::wstring& propertyName);
00047
00048 const std::wstring getSafeProperty (const std::wstring& propertyName);
00049 const std::wstring getComplexProperty(const std::wstring& propertyName);
00050
00051 int setComplexProperty(const std::wstring& propertyName, const std::wstring& propertyValue);
00052
00053 public:
00054
00056 ClientNote();
00057 ClientNote(const ClientNote& c);
00058 ClientNote operator=(const ClientNote& c);
00059
00061 ~ClientNote();
00062
00063
00065 void setCOMPtr(_NoteItemPtr& ptr, const std::wstring& itemID);
00066 void setCOMPtr(_NoteItemPtr& ptr);
00067
00068
00069 _NoteItemPtr& getCOMPtr();
00070
00071
00072
00073
00074 int saveItem();
00075 int deleteItem();
00076 ClientItem* copyItem();
00077
00078
00079 };
00080
00083 #endif