browser/components/shell/src/nsMacShellService.h
author Joshua Cranmer <Pidgeot18@gmail.com>
Mon, 21 Oct 2013 13:08:00 -0500
changeset 165412 fb42a764f90bc91a628e472889e00b27b28b55ed
parent 112585 5cfb73435e0655e230e74a6aa7066d576b7c6a7d
child 213310 5f27f634ed58d0bfaaf863abee6c3add849f8254
permissions -rw-r--r--
Bug 900526, part 2: Move backend.mk inclusion to config.mk instead of rules.mk, r=gps

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

#include "nsIMacShellService.h"
#include "nsIWebProgressListener.h"
#include "nsIFile.h"
#include "nsCOMPtr.h"

class nsMacShellService : public nsIMacShellService,
                          public nsIWebProgressListener
{
public:
  nsMacShellService() : mCheckedThisSession(false) {};
  virtual ~nsMacShellService() {};

  NS_DECL_ISUPPORTS
  NS_DECL_NSISHELLSERVICE
  NS_DECL_NSIMACSHELLSERVICE
  NS_DECL_NSIWEBPROGRESSLISTENER

protected:

private:
  nsCOMPtr<nsIFile> mBackgroundFile;

  bool      mCheckedThisSession;
};

#endif // nsmacshellservice_h____