2012-09-11 06:05:00 +00:00
|
|
|
/* -*- 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 _mozilla_time_change_observer_h_
|
|
|
|
#define _mozilla_time_change_observer_h_
|
|
|
|
|
2013-11-05 14:16:25 +00:00
|
|
|
#include "nscore.h"
|
2012-09-11 06:05:00 +00:00
|
|
|
|
2013-11-05 14:16:25 +00:00
|
|
|
class nsPIDOMWindow;
|
2012-09-11 06:05:00 +00:00
|
|
|
|
2013-11-05 14:16:25 +00:00
|
|
|
namespace mozilla {
|
|
|
|
namespace time {
|
2012-10-23 07:15:43 +00:00
|
|
|
|
2013-11-05 14:16:25 +00:00
|
|
|
nsresult AddWindowListener(nsPIDOMWindow* aWindow);
|
|
|
|
nsresult RemoveWindowListener(nsPIDOMWindow* aWindow);
|
2012-10-23 07:15:43 +00:00
|
|
|
|
2013-11-05 14:16:25 +00:00
|
|
|
} // namespace time
|
|
|
|
} // namespace mozilla
|
2012-09-11 06:05:00 +00:00
|
|
|
|
|
|
|
#endif //_mozilla_time_change_observer_h_
|