Bumping manifests a=b2g-bump
[gecko.git] / dom / tv / TVTypes.h
blob7ad332cb28bb05b7b430e81925a4ca663dcd7853
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
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_TVTypes_h
8 #define mozilla_dom_TVTypes_h
10 #include "nsITVService.h"
12 namespace mozilla {
13 namespace dom {
15 class TVTunerData MOZ_FINAL : public nsITVTunerData
17 public:
18 NS_DECL_ISUPPORTS
19 NS_DECL_NSITVTUNERDATA
21 TVTunerData();
23 private:
24 ~TVTunerData();
26 nsString mId;
27 char** mSupportedSourceTypes;
28 uint32_t mCount;
31 class TVChannelData MOZ_FINAL : public nsITVChannelData
33 public:
34 NS_DECL_ISUPPORTS
35 NS_DECL_NSITVCHANNELDATA
37 TVChannelData();
39 private:
40 ~TVChannelData();
42 nsString mNetworkId;
43 nsString mTransportStreamId;
44 nsString mServiceId;
45 nsString mType;
46 nsString mNumber;
47 nsString mName;
48 bool mIsEmergency;
49 bool mIsFree;
52 class TVProgramData MOZ_FINAL : public nsITVProgramData
54 public:
55 NS_DECL_ISUPPORTS
56 NS_DECL_NSITVPROGRAMDATA
58 TVProgramData();
60 private:
61 ~TVProgramData();
63 nsString mEventId;
64 nsString mTitle;
65 uint64_t mStartTime;
66 uint64_t mDuration;
67 nsString mDescription;
68 nsString mRating;
69 char** mAudioLanguages;
70 uint32_t mAudioLanguageCount;
71 char** mSubtitleLanguages;
72 uint32_t mSubtitleLanguageCount;
75 } // namespace dom
76 } // namespace mozilla
78 #endif // mozilla_dom_TVTypes_h