|
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/. */ |
|
6 |
|
7 #ifndef mozilla_dom_telephony_telephonycommon_h__ |
|
8 #define mozilla_dom_telephony_telephonycommon_h__ |
|
9 |
|
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" |
|
19 |
|
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; |
|
26 |
|
27 namespace mozilla { |
|
28 namespace dom { |
|
29 |
|
30 namespace telephony { |
|
31 |
|
32 enum { |
|
33 kOutgoingPlaceholderCallIndex = UINT32_MAX |
|
34 }; |
|
35 |
|
36 } // namespace telephony |
|
37 |
|
38 class CallsList; |
|
39 class Telephony; |
|
40 class TelephonyCall; |
|
41 class TelephonyCallGroup; |
|
42 |
|
43 } // namespace dom |
|
44 } // namespace mozilla |
|
45 |
|
46 #endif // mozilla_dom_telephony_telephonycommon_h__ |