mailnews/import/vcard/src/nsVCardImport.h
author Joshua Cranmer <Pidgeot18@gmail.com>
Wed, 09 Jul 2014 09:04:59 -0500
changeset 20461 21e13ac2fe1f124fd027a0b1b111c6b04154f443
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 30485 e8f902aac0b0dc1ab894220b2280dec75d7799cc
permissions -rw-r--r--
Bug 1035650, part 4: Fix public destructors everywhere else, r=Neil a=bustage fix on CLOSED TREE

/* 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 nsVCardImport_h___
#define nsVCardImport_h___

#include "nsIImportModule.h"
#include "nsIStringBundle.h"
#include "nsCOMPtr.h"

#define NS_VCARDIMPORT_CID \
{ /* 0EB034A3-964A-4E2F-92EBCC55D9AE9DD2 */ \
  0x0eb034a3, 0x964a, 0x4e2f, \
  {0x92, 0xeb, 0xcc, 0x55, 0xd9, 0xae, 0x9d, 0xd2}}

#define VCARDIMPORT_MSGS_URL "chrome://messenger/locale/vCardImportMsgs.properties"

class nsVCardImport : public nsIImportModule
{
public:

  nsVCardImport();

  NS_DECL_ISUPPORTS

  ////////////////////////////////////////////////////////////////////////////////////////
  // we suppport the nsIImportModule interface
  ////////////////////////////////////////////////////////////////////////////////////////

  NS_DECL_NSIIMPORTMODULE

protected:
  virtual ~nsVCardImport();
  nsCOMPtr<nsIStringBundle> m_stringBundle;
};

#endif /* nsVCardImport_h___ */