1 /* This file is part of the KDE project 2 Copyright (C) 2007 Shane King 3 4 This program is free software; you can redistribute it and/or 5 modify it under the terms of the GNU Library General Public 6 License as published by the Free Software Foundation; either 7 version 2 of the License, or (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 Library General Public License for more details. 13 14 You should have received a copy of the GNU Library General Public License 15 along with this program; see the file COPYING. If not, write to 16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 Boston, MA 02110-1301, USA. 18 */ 19 20 import "unknwn.idl"; 21 import "strmif.idl"; 22 import "wtypes.idl"; 23 24 [ 25 object, 26 uuid(fa2aa8f4-8b62-11d0-a520-000000000000) 27 ] 28 interface IAMMediaContent : IDispatch 29 { 30 [propget] HRESULT AuthorName(BSTR *pbstrAuthorName); 31 [propget] HRESULT Title(BSTR *pbstrTitle); 32 [propget] HRESULT Rating(BSTR *pbstrRating); 33 [propget] HRESULT Description(BSTR *pbstrDescription); 34 [propget] HRESULT Copyright(BSTR *pbstrCopyright); 35 [propget] HRESULT BaseURL(BSTR *pbstrBaseURL); 36 [propget] HRESULT LogoURL(BSTR *pbstrLogoURL); 37 [propget] HRESULT LogoIconURL(BSTR *pbstrLogoURL); 38 [propget] HRESULT WatermarkURL(BSTR *pbstrWatermarkURL); 39 [propget] HRESULT MoreInfoURL(BSTR *pbstrMoreInfoURL); 40 [propget] HRESULT MoreInfoBannerImage(BSTR *pbstrMoreInfoBannerImage); 41 [propget] HRESULT MoreInfoBannerURL(BSTR *pbstrMoreInfoBannerURL); 42 [propget] HRESULT MoreInfoText(BSTR *pbstrMoreInfoText); 43 } 44 45 [ 46 object, 47 uuid(fa2aa8f3-8b62-11d0-a520-000000000000) 48 ] 49 interface IAMNetworkStatus : IDispatch 50 { 51 [propget] HRESULT ReceivedPackets(long *pReceivedPackets); 52 [propget] HRESULT RecoveredPackets(long *pRecoveredPackets); 53 [propget] HRESULT LostPackets(long *pLostPackets); 54 [propget] HRESULT ReceptionQuality(long *pReceptionQuality); 55 [propget] HRESULT BufferingCount(long *pBufferingCount); 56 [propget] HRESULT IsBroadcast(VARIANT_BOOL *pIsBroadcast); 57 [propget] HRESULT BufferingProgress(long *pBufferingProgress); 58 } 59 60