mailnews/mapi/mapihook/src/msgMapiSupport.h
author aceman <acelists@atlas.sk>
Wed, 08 Aug 2018 07:38:17 +0200
branchSEAMONKEY_2_49_ESR_RELBRANCH
changeset 28329 d4892a924deb1d5bf6ee18c97a8cefa2bce4be92
parent 19912 23e9f9db067284c174b7b9ad21f6f44c06519a1f
permissions -rw-r--r--
Bug 1481417 - Part 5: Fix warnings and remove ALLOW_COMPILER_WARNINGS = True or replace it with something more specific in mailnews/mapi. r=jorgk a=IanN DONTBUILD SeaMonkey ESR52 release branch only.

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef MSG_MAPI_SUPPORT_H_
#define MSG_MAPI_SUPPORT_H_

#include "nsIObserver.h"
#include "nsIMapiSupport.h"
#include "msgMapiFactory.h"

#define NS_IMAPISUPPORT_CID \
  {0x8967fed2, 0xc8bb, 0x11d5, \
    { 0xa3, 0xe9, 0x00, 0xb0, 0xd0, 0xf3, 0xba, 0xa7 }}

class nsMapiSupport : public nsIMapiSupport,
                      public nsIObserver
{
    public :
        nsMapiSupport();

        // Declare all interface methods we must implement.
        NS_DECL_THREADSAFE_ISUPPORTS
        NS_DECL_NSIOBSERVER
        NS_DECL_NSIMAPISUPPORT

    private :
        virtual ~nsMapiSupport();

        DWORD   m_dwRegister;
        CMapiFactory *m_nsMapiFactory;
};

#endif  // MSG_MAPI_SUPPORT_H_