mail/components/search/nsMailWinSearchHelper.h
author Arlo Breault <arlolra@gmail.com>
Wed, 27 Aug 2014 23:28:11 -0700
changeset 25848 e2c85d70fda266eb3db5e2dc2e2fc95b7f12fcd1
parent 23638 9f14b4a8e7e7b1145527a5fd9def79f3f3a0846c
child 65829 15065db6bbb56668eeaa2be2482aec4607c9bd66
permissions -rw-r--r--
Bug 983347 - Need different paths for displaying to the screen and sending over the wire. Correct version. r=florian,clokep a=jcranmer

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