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_telephonycommon_h__
|
|
|
|
#define mozilla_dom_telephony_telephonycommon_h__
|
|
|
|
|
2013-07-15 01:27:19 -07:00
|
|
|
#include "mozilla/Attributes.h"
|
|
|
|
#include "mozilla/ErrorResult.h"
|
2012-01-09 14:28:47 -08:00
|
|
|
#include "nsAutoPtr.h"
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsCycleCollectionParticipant.h"
|
|
|
|
#include "nsDebug.h"
|
2012-02-08 11:22:01 -08:00
|
|
|
#include "nsDOMEventTargetHelper.h"
|
2012-01-09 14:28:47 -08: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;
|
|
|
|
|
|
|
|
BEGIN_TELEPHONY_NAMESPACE
|
|
|
|
|
2012-01-11 18:17:26 -08:00
|
|
|
enum {
|
2012-09-27 23:57:33 -07:00
|
|
|
kOutgoingPlaceholderCallIndex = UINT32_MAX
|
2012-01-11 18:17:26 -08:00
|
|
|
};
|
|
|
|
|
2013-07-15 01:27:19 -07:00
|
|
|
class CallsList;
|
2012-01-09 14:28:47 -08:00
|
|
|
class Telephony;
|
|
|
|
class TelephonyCall;
|
2013-07-06 03:24:55 -07:00
|
|
|
class TelephonyCallGroup;
|
2012-01-09 14:28:47 -08:00
|
|
|
|
|
|
|
END_TELEPHONY_NAMESPACE
|
|
|
|
|
|
|
|
#endif // mozilla_dom_telephony_telephonycommon_h__
|