2012-01-09 22:28:47 +00:00
|
|
|
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
|
|
|
|
/* vim: set ts=2 et sw=2 tw=40: */
|
2012-05-21 11:12:37 +00: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/. */
|
2012-01-09 22:28:47 +00:00
|
|
|
|
|
|
|
#ifndef mozilla_dom_telephony_telephonyfactory_h__
|
|
|
|
#define mozilla_dom_telephony_telephonyfactory_h__
|
|
|
|
|
|
|
|
#include "nsIDOMTelephony.h"
|
2012-07-19 03:27:19 +00:00
|
|
|
#include "nsIDOMVoicemail.h"
|
2012-01-09 22:28:47 +00:00
|
|
|
#include "nsPIDOMWindow.h"
|
|
|
|
|
2012-07-19 03:27:19 +00:00
|
|
|
// Implemented in Telephony.cpp / Voicemail.cpp.
|
2012-01-09 22:28:47 +00:00
|
|
|
|
|
|
|
nsresult
|
|
|
|
NS_NewTelephony(nsPIDOMWindow* aWindow, nsIDOMTelephony** aTelephony);
|
|
|
|
|
2012-07-19 03:27:19 +00:00
|
|
|
nsresult
|
|
|
|
NS_NewVoicemail(nsPIDOMWindow* aWindow, nsIDOMMozVoicemail** aVoicemail);
|
|
|
|
|
2012-01-09 22:28:47 +00:00
|
|
|
#endif // mozilla_dom_telephony_telephonyfactory_h__
|