2012-09-10 23:05:00 -07:00
|
|
|
/* 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_dom_time_TimeManager_h
|
|
|
|
#define mozilla_dom_time_TimeManager_h
|
|
|
|
|
|
|
|
#include "mozilla/HalTypes.h"
|
|
|
|
#include "nsIDOMTimeManager.h"
|
|
|
|
#include "mozilla/Observer.h"
|
2012-09-18 11:01:03 -07:00
|
|
|
#include "mozilla/Attributes.h"
|
2012-09-10 23:05:00 -07:00
|
|
|
|
|
|
|
class nsPIDOMWindow;
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
|
|
|
|
typedef Observer<hal::SystemTimeChange> SystemTimeObserver;
|
|
|
|
|
|
|
|
namespace dom {
|
|
|
|
namespace time {
|
2012-09-18 11:01:03 -07:00
|
|
|
class TimeManager MOZ_FINAL : public nsIDOMMozTimeManager
|
2012-09-10 23:05:00 -07:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSIDOMMOZTIMEMANAGER
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace time
|
|
|
|
} // namespace dom
|
|
|
|
} // namespace mozilla
|
|
|
|
|
|
|
|
#endif //mozilla_dom_time_TimeManager_h
|