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