vcftomapi.hpp 507 B

12345678910111213141516171819202122232425262728
  1. #ifndef VCFTOMAPI_H
  2. #define VCFTOMAPI_H
  3. #include <list>
  4. #include <string>
  5. #include <mapidefs.h>
  6. #include "icalitem.h"
  7. namespace KC {
  8. class vcftomapi {
  9. public:
  10. vcftomapi(IMAPIProp *o) : m_propobj(o) {}
  11. virtual ~vcftomapi(void) = default;
  12. virtual HRESULT parse_vcf(const std::string &) = 0;
  13. virtual HRESULT get_item(IMessage *) = 0;
  14. protected:
  15. IMAPIProp *m_propobj;
  16. std::list<SPropValue> props;
  17. };
  18. extern _kc_export HRESULT create_vcftomapi(IMAPIProp *, vcftomapi **);
  19. } /* namespace */
  20. #endif