12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef ICALMAPI_VEVENT_H
- #define ICALMAPI_VEVENT_H
- #include <kopano/zcdefs.h>
- #include "vconverter.h"
- namespace KC {
- class VEventConverter _kc_final : public VConverter {
- public:
-
- VEventConverter(LPADRBOOK lpAdrBook, timezone_map *mapTimeZones, LPSPropTagArray lpNamedProps, const std::string& strCharset, bool blCensor, bool bNoRecipients, IMailUser *lpImailUser);
- HRESULT HrICal2MAPI(icalcomponent *lpEventRoot , icalcomponent *lpEvent , icalitem *lpPrevItem , icalitem **lppRet ) _kc_override;
-
- private:
-
- HRESULT HrAddBaseProperties(icalproperty_method icMethod, icalcomponent *lpicEvent, void *base, bool bIsException, std::list<SPropValue> *lstMsgProps) _kc_override;
- HRESULT HrAddTimes(icalproperty_method icMethod, icalcomponent *lpicEventRoot, icalcomponent *lpicEvent, bool bIsAllday, icalitem *lpIcalItem) _kc_override;
-
- HRESULT HrMAPI2ICal(LPMESSAGE lpMessage, icalproperty_method *lpicMethod, icaltimezone **lppicTZinfo, std::string *lpstrTZid, icalcomponent **lppEvent) _kc_override;
- HRESULT HrSetTimeProperties(LPSPropValue lpMsgProps, ULONG ulMsgProps, icaltimezone *lpicTZinfo, const std::string &strTZid, icalcomponent *lpEvent) _kc_override;
- };
- }
- #endif
|