📄 tvsourceconfig.h
字号:
/*
* 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__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -