dom/telephony/TelephonyCommon.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/telephony/TelephonyCommon.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
     1.5 +/* vim: set ts=2 et sw=2 tw=40: */
     1.6 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.9 +
    1.10 +#ifndef mozilla_dom_telephony_telephonycommon_h__
    1.11 +#define mozilla_dom_telephony_telephonycommon_h__
    1.12 +
    1.13 +#include "mozilla/Attributes.h"
    1.14 +#include "mozilla/DOMEventTargetHelper.h"
    1.15 +#include "mozilla/ErrorResult.h"
    1.16 +#include "nsAutoPtr.h"
    1.17 +#include "nsCOMPtr.h"
    1.18 +#include "nsCycleCollectionParticipant.h"
    1.19 +#include "nsDebug.h"
    1.20 +#include "nsString.h"
    1.21 +#include "nsTArray.h"
    1.22 +
    1.23 +#define BEGIN_TELEPHONY_NAMESPACE \
    1.24 +  namespace mozilla { namespace dom { namespace telephony {
    1.25 +#define END_TELEPHONY_NAMESPACE \
    1.26 +  } /* namespace telephony */ } /* namespace dom */ } /* namespace mozilla */
    1.27 +#define USING_TELEPHONY_NAMESPACE \
    1.28 +  using namespace mozilla::dom::telephony;
    1.29 +
    1.30 +namespace mozilla {
    1.31 +namespace dom {
    1.32 +
    1.33 +namespace telephony {
    1.34 +
    1.35 +enum {
    1.36 +  kOutgoingPlaceholderCallIndex = UINT32_MAX
    1.37 +};
    1.38 +
    1.39 +} // namespace telephony
    1.40 +
    1.41 +class CallsList;
    1.42 +class Telephony;
    1.43 +class TelephonyCall;
    1.44 +class TelephonyCallGroup;
    1.45 +
    1.46 +} // namespace dom
    1.47 +} // namespace mozilla
    1.48 +
    1.49 +#endif // mozilla_dom_telephony_telephonycommon_h__

mercurial