OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
EDSCalendarStorageCommon.hpp
Go to the documentation of this file.
1 /*
2  * This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
10 #ifndef EDSCALENDARSTORAGECOMMON_HPP_
11 #define EDSCALENDARSTORAGECOMMON_HPP_
12 
14 #include <string>
15 #include <libical/ical.h>
20 {
21  public:
27  static std::string cutVObject(std::istream& stream);
28 
36  static OpenAB::PIMCalendarItem* processObject(const std::vector<icalcomponent*>& newEvents);
37 
45  static OpenAB::PIMCalendarItem* processObject(const std::vector<std::string>& iCals);
46 
47  private:
52 
56  virtual ~EDSCalendarStorageCommon();
57 
62 
66  EDSCalendarStorageCommon& operator=(EDSCalendarStorageCommon const &other);
67 
72  static void findTimeZonesCb(icalparameter* param, void* data);
73 
74  static std::set<std::string> currentEventTimeZones;
75 };
76 
77 #endif // EDSCALENDARSTORAGECOMMON_HPP_
Documentation for class EDSCalendarStorageCommon.
Definition: EDSCalendarStorageCommon.hpp:19
static std::string cutVObject(std::istream &stream)
Definition: EDSCalendarStorageCommon.cpp:23
Documentation for class PIMCalendarItem.
Definition: PIMCalendarItem.hpp:223
static OpenAB::PIMCalendarItem * processObject(const std::vector< icalcomponent * > &newEvents)
Processes VEVENT or VTODO components obtained from EDS Adds VTIMEZONE component and creates new VCALE...
Definition: EDSCalendarStorageCommon.cpp:102