ECDistList.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * Copyright 2005 - 2016 Zarafa and its licensors
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU Affero General Public License, version 3,
  6. * as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU Affero General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU Affero General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. *
  16. */
  17. #ifndef ECDISTLIST
  18. #define ECDISTLIST
  19. #include <kopano/zcdefs.h>
  20. #include <kopano/Util.h>
  21. #include "ECABContainer.h"
  22. class ECDistList _kc_final : public ECABContainer {
  23. protected:
  24. ECDistList(void* lpProvider, BOOL fModify);
  25. public:
  26. static HRESULT Create(void* lpProvider, BOOL fModify, ECDistList** lppDistList);
  27. static HRESULT TableRowGetProp(void* lpProvider, struct propVal *lpsPropValSrc, LPSPropValue lpsPropValDst, void **lpBase, ULONG ulType);
  28. // Override IMAPIProp
  29. virtual HRESULT CopyTo(ULONG ciidExclude, LPCIID rgiidExclude, const SPropTagArray *lpExcludeProps, ULONG ulUIParam, LPMAPIPROGRESS lpProgress, LPCIID lpInterface, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems);
  30. virtual HRESULT CopyProps(const SPropTagArray *lpIncludeProps, ULONG ulUIParam, LPMAPIPROGRESS lpProgress, LPCIID lpInterface, LPVOID lpDestObj, ULONG ulFlags, LPSPropProblemArray *lppProblems);
  31. // override IUnknown
  32. virtual HRESULT QueryInterface(REFIID refiid, void **lppInterface) _kc_override;
  33. virtual HRESULT OpenProperty(ULONG ulPropTag, LPCIID lpiid, ULONG ulInterfaceOptions, ULONG ulFlags, LPUNKNOWN *lppUnk);
  34. class xDistList _kc_final : public IDistList {
  35. #include <kopano/xclsfrag/IUnknown.hpp>
  36. #include <kopano/xclsfrag/IABContainer.hpp>
  37. #include <kopano/xclsfrag/IMAPIContainer.hpp>
  38. #include <kopano/xclsfrag/IMAPIProp.hpp>
  39. } m_xDistList;
  40. ALLOC_WRAP_FRIEND;
  41. };
  42. #endif // #ifndef ECDISTLIST