TVSourceConfig.h
资源名称:p2p_vod.rar [点击查看]
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- /*
- * Openmysee
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
- */
- #ifndef __TV_SOURCE_CONFIG_H__
- #define __TV_SOURCE_CONFIG_H__
- // old
- // {B80E2143-306A-4657-BE95-82EB00AC636B}
- //static const GUID IID_ITVSouceConfig =
- //{0xb80e2143, 0x306a, 0x4657, {0xbe, 0x95, 0x82, 0xeb, 0x0, 0xac, 0x63, 0x6b}};
- // {CBF70EBA-BE80-4192-A167-2F3341248A08}
- static const GUID IID_ITVSouceConfig =
- { 0xcbf70eba, 0xbe80, 0x4192, { 0xa1, 0x67, 0x2f, 0x33, 0x41, 0x24, 0x8a, 0x8 } };
- class ITVSourceConfig : public IUnknown
- {
- public:
- STDMETHOD_(float, GetCompressedSpeed)() PURE;
- STDMETHOD_(void, SetAudioOrVideoOnly)(BOOL isAudio) PURE;
- STDMETHOD_(void, SetParentWindow)(HWND handle) PURE;
- STDMETHOD_(LONGLONG, GetTotalBytes)() PURE;
- STDMETHOD_(BOOL, Login)(int userID, char* pass) PURE;
- STDMETHOD_(int, CheckPassword)() PURE;
- STDMETHOD_(void, SetProgramStorePath)(LPCTSTR path) PURE;
- STDMETHOD_(void, SetChannelName)(LPCTSTR astrChannelName) PURE;
- STDMETHOD_(void, GetZZLState)(int* apiState) PURE;
- STDMETHOD_(bool, EndOfStream)() PURE;
- };
- #endif// __TV_SOURCE_CONFIG_H__