dom/telephony/TelephonyCommon.h
author Vladan Djeric <vdjeric@mozilla.com>
Mon, 12 Nov 2012 17:01:26 -0500
changeset 113023 3d152765afe61cde82c3685270776718714d0cd1
parent 108499 2c694d8bf7a59441faba5d6266862299fa354b03
child 141876 5726180e4834d83a9eed9f4d3bd6bcfccfe8a281
permissions -rw-r--r--
Bug 811088 - about:telemetry causes startup info to be gathered multiple times

/* -*- 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 = UINT32_MAX
};

class Telephony;
class TelephonyCall;

END_TELEPHONY_NAMESPACE

#endif // mozilla_dom_telephony_telephonycommon_h__