summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/import/src/nsVCardImport.h
blob: f35e5eb3d34b194ec3758b6a827e5ab79f897d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* 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 support the nsIImportModule interface
  ////////////////////////////////////////////////////////////////////////////////////////

  NS_DECL_NSIIMPORTMODULE

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

#endif /* nsVCardImport_h___ */