dom/tv/TVServiceFactory.h
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Wed, 13 May 2015 22:18:00 +0100
changeset 260491 d5ba1bc97911bc35917c83ce5a92e873af38ec2c
parent 239292 544aa604483f62f0b99fa3112c4df3ec47b6a0e8
child 309981 c9cfbe159b2603d7853f82120344c0cc341a86b6
permissions -rw-r--r--
Bug 1164302 - pocket button gets lost after a restart, r=jaws a=dolske

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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_TVServiceFactory_h
#define mozilla_dom_TVServiceFactory_h

#include "nsCOMPtr.h"

class nsITVService;

namespace mozilla {
namespace dom {

class FakeTVService;

class TVServiceFactory
{
public:
  static already_AddRefed<FakeTVService> CreateFakeTVService();

  static already_AddRefed<nsITVService> AutoCreateTVService();
};

} // namespace dom
} // namespace mozilla

#endif // mozilla_dom_TVServiceFactory_h