dom/time/TimeManager.h
author David Zbarsky <dzbarsky@gmail.com>
Tue, 18 Sep 2012 14:01:03 -0400
changeset 107392 7908f12e504d95d1de8058493ecc48274f9ac31f
parent 101780 5439489dc320dbe10c3826682983480b712039ae
child 108418 cba5ba69091f52840af3d8f738ac43bbcc256e6d
permissions -rw-r--r--
Fix virtual dtor warning, no bug, blanket r=bz

/* 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"
#include "mozilla/Attributes.h"

class nsPIDOMWindow;

namespace mozilla {

typedef Observer<hal::SystemTimeChange> SystemTimeObserver;

namespace dom {
namespace time {
class TimeManager MOZ_FINAL : public nsIDOMMozTimeManager
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMMOZTIMEMANAGER
};

} // namespace time
} // namespace dom
} // namespace mozilla

#endif //mozilla_dom_time_TimeManager_h