ECNotification.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. // ECNotification.h: interface for the ECNotification class.
  18. //
  19. //////////////////////////////////////////////////////////////////////
  20. #ifndef ECNOTIFICATION
  21. #define ECNOTIFICATION
  22. #include <kopano/zcdefs.h>
  23. #include "soapH.h"
  24. struct soap;
  25. namespace KC {
  26. class ECNotification _kc_final {
  27. public:
  28. ECNotification();
  29. virtual ~ECNotification();
  30. ECNotification(const ECNotification &x);
  31. ECNotification& operator=(const ECNotification &x);
  32. ECNotification(notification &notification);
  33. ECNotification& operator=(const notification &srcNotification);
  34. void SetConnection(unsigned int ulConnection);
  35. void GetCopy(struct soap *, notification &) const;
  36. size_t GetObjectSize(void) const;
  37. protected:
  38. void Init();
  39. private:
  40. notification *m_lpsNotification;
  41. };
  42. } /* namespace */
  43. #endif // #ifndef ECNOTIFICATION