2012-01-09 14:28:47 -08: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 04:12:37 -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/. */
|
2012-01-09 14:28:47 -08:00
|
|
|
|
|
|
|
#ifndef mozilla_dom_telephony_telephonyfactory_h__
|
|
|
|
#define mozilla_dom_telephony_telephonyfactory_h__
|
|
|
|
|
|
|
|
#include "nsIDOMTelephony.h"
|
2012-07-18 20:27:19 -07:00
|
|
|
#include "nsIDOMVoicemail.h"
|
2012-01-09 14:28:47 -08:00
|
|
|
#include "nsPIDOMWindow.h"
|
|
|
|
|
2012-07-18 20:27:19 -07:00
|
|
|
// Implemented in Telephony.cpp / Voicemail.cpp.
|
2012-01-09 14:28:47 -08:00
|
|
|
|
|
|
|
nsresult
|
|
|
|
NS_NewTelephony(nsPIDOMWindow* aWindow, nsIDOMTelephony** aTelephony);
|
|
|
|
|
2012-07-18 20:27:19 -07:00
|
|
|
nsresult
|
|
|
|
NS_NewVoicemail(nsPIDOMWindow* aWindow, nsIDOMMozVoicemail** aVoicemail);
|
|
|
|
|
2012-01-09 14:28:47 -08:00
|
|
|
#endif // mozilla_dom_telephony_telephonyfactory_h__
|