qnetwork.idl 2.3 KB

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