2012-01-10 02:28:47 +04: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 15:12:37 +04: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-10 02:28:47 +04:00
|
|
|
|
|
|
|
#ifndef mozilla_dom_telephony_telephonycommon_h__
|
|
|
|
#define mozilla_dom_telephony_telephonycommon_h__
|
|
|
|
|
|
|
|
#include "nsAutoPtr.h"
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsCycleCollectionParticipant.h"
|
|
|
|
#include "nsDebug.h"
|
2012-02-08 23:22:01 +04:00
|
|
|
#include "nsDOMEventTargetHelper.h"
|
2012-01-10 02:28:47 +04:00
|
|
|
#include "nsStringGlue.h"
|
|
|
|
#include "nsTArray.h"
|
|
|
|
|
|
|
|
#define BEGIN_TELEPHONY_NAMESPACE \
|
|
|
|
namespace mozilla { namespace dom { namespace telephony {
|
|
|
|
#define END_TELEPHONY_NAMESPACE \
|
|
|
|
} /* namespace telephony */ } /* namespace dom */ } /* namespace mozilla */
|
|
|
|
#define USING_TELEPHONY_NAMESPACE \
|
|
|
|
using namespace mozilla::dom::telephony;
|
|
|
|
|
|
|
|
class nsIDOMTelephony;
|
|
|
|
class nsIDOMTelephonyCall;
|
|
|
|
|
|
|
|
BEGIN_TELEPHONY_NAMESPACE
|
|
|
|
|
2012-01-12 06:17:26 +04:00
|
|
|
enum {
|
2012-09-28 10:57:33 +04:00
|
|
|
kOutgoingPlaceholderCallIndex = UINT32_MAX
|
2012-01-12 06:17:26 +04:00
|
|
|
};
|
|
|
|
|
2012-01-10 02:28:47 +04:00
|
|
|
class Telephony;
|
|
|
|
class TelephonyCall;
|
|
|
|
|
|
|
|
END_TELEPHONY_NAMESPACE
|
|
|
|
|
|
|
|
#endif // mozilla_dom_telephony_telephonycommon_h__
|