michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsParentalControlsServiceWin_h__ michael@0: #define nsParentalControlsServiceWin_h__ michael@0: michael@0: #include "nsIParentalControlsService.h" michael@0: #include "nsCOMPtr.h" michael@0: #include "nsAutoPtr.h" michael@0: #include "nsIURI.h" michael@0: michael@0: // wpcevents.h requires this be elevated michael@0: #if (WINVER < 0x0600) michael@0: # undef WINVER michael@0: # define WINVER 0x0600 michael@0: #endif michael@0: michael@0: #include michael@0: #include michael@0: michael@0: class nsParentalControlsServiceWin : public nsIParentalControlsService michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIPARENTALCONTROLSSERVICE michael@0: michael@0: nsParentalControlsServiceWin(); michael@0: virtual ~nsParentalControlsServiceWin(); michael@0: michael@0: private: michael@0: bool mEnabled; michael@0: REGHANDLE mProvider; michael@0: IWindowsParentalControls * mPC; michael@0: michael@0: void LogFileDownload(bool blocked, nsIURI *aSource, nsIFile *aTarget); michael@0: }; michael@0: michael@0: #endif /* nsParentalControlsServiceWin_h__ */