mail/components/search/nsMailWinSearchHelper.h
author tbirdbld
Wed, 02 Nov 2016 03:02:59 -0700
changeset 23009 8b2cd9752fecc73fe669ae3ae0c16a0471e19cb3
parent 17853 9f14b4a8e7e7b1145527a5fd9def79f3f3a0846c
permissions -rw-r--r--
No bug, Automated blocklist update from host bld-linux64-spot-584 - a=blocklist-update

/* -*- 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

  NS_HIDDEN_(nsresult) Init();
  nsMailWinSearchHelper();

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

#endif