dom/telephony/TelephonyCommon.h
author Gervase Markham <gerv@gerv.net>
Mon, 21 May 2012 12:12:37 +0100
changeset 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
parent 87534 324ad5b90d7d2822fbf1e533e7676358ff4584ce
child 108499 2c694d8bf7a59441faba5d6266862299fa354b03
permissions -rw-r--r--
Bug 716478 - update licence to MPL 2.

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=40: */
/* 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_telephony_telephonycommon_h__
#define mozilla_dom_telephony_telephonycommon_h__

#include "nsAutoPtr.h"
#include "nsCOMPtr.h"
#include "nsCycleCollectionParticipant.h"
#include "nsDebug.h"
#include "nsDOMEventTargetHelper.h"
#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

enum {
  kOutgoingPlaceholderCallIndex = PR_UINT32_MAX
};

class Telephony;
class TelephonyCall;

END_TELEPHONY_NAMESPACE

#endif // mozilla_dom_telephony_telephonycommon_h__