summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/search/nsMailWinSearchHelper.h
blob: ee313e6acf9f757a6339131b32eeacc2ddb66e86 (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
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 nsMailWinSearchHelper_h_
#define nsMailWinSearchHelper_h_

#include "nsIMailWinSearchHelper.h"
#include "nsIFile.h"
#include "nsCOMPtr.h"

#define NS_MAILWINSEARCHHELPER_CID                  \
  {                                                 \
    0x5dd31c99, 0x8c7, 0x4a3b, {                    \
      0xae, 0xb3, 0xd2, 0xe6, 0x6, 0x65, 0xa3, 0x1a \
    }                                               \
  }

class nsMailWinSearchHelper : public nsIMailWinSearchHelper {
 public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMAILWINSEARCHHELPER

  nsresult Init();
  nsMailWinSearchHelper();

 private:
  virtual ~nsMailWinSearchHelper();
  nsCOMPtr<nsIFile> mProfD;
  nsCOMPtr<nsIFile> mCurProcD;
};

#endif