dom/telephony/TelephonyCommon.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
     2 /* vim: set ts=2 et sw=2 tw=40: */
     3 /* This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     7 #ifndef mozilla_dom_telephony_telephonycommon_h__
     8 #define mozilla_dom_telephony_telephonycommon_h__
    10 #include "mozilla/Attributes.h"
    11 #include "mozilla/DOMEventTargetHelper.h"
    12 #include "mozilla/ErrorResult.h"
    13 #include "nsAutoPtr.h"
    14 #include "nsCOMPtr.h"
    15 #include "nsCycleCollectionParticipant.h"
    16 #include "nsDebug.h"
    17 #include "nsString.h"
    18 #include "nsTArray.h"
    20 #define BEGIN_TELEPHONY_NAMESPACE \
    21   namespace mozilla { namespace dom { namespace telephony {
    22 #define END_TELEPHONY_NAMESPACE \
    23   } /* namespace telephony */ } /* namespace dom */ } /* namespace mozilla */
    24 #define USING_TELEPHONY_NAMESPACE \
    25   using namespace mozilla::dom::telephony;
    27 namespace mozilla {
    28 namespace dom {
    30 namespace telephony {
    32 enum {
    33   kOutgoingPlaceholderCallIndex = UINT32_MAX
    34 };
    36 } // namespace telephony
    38 class CallsList;
    39 class Telephony;
    40 class TelephonyCall;
    41 class TelephonyCallGroup;
    43 } // namespace dom
    44 } // namespace mozilla
    46 #endif // mozilla_dom_telephony_telephonycommon_h__

mercurial