powerplayer.h
资源名称:PPStream.zip [点击查看]
上传用户:hju612
上传日期:2022-08-09
资源大小:31k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_POWERPLAYER_H__3E5B3AA0_C0D5_4FAC_B814_EB1CA2E83FBD__INCLUDED_)
- #define AFX_POWERPLAYER_H__3E5B3AA0_C0D5_4FAC_B814_EB1CA2E83FBD__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- /////////////////////////////////////////////////////////////////////////////
- // CPowerPlayer wrapper class
- class CPowerPlayer : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CPowerPlayer)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0x5ec7c511, 0xcd0f, 0x42e6, { 0x83, 0xc, 0x1b, 0xd9, 0x88, 0x2f, 0x34, 0x58 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
- // Attributes
- public:
- CString GetSrc();
- void SetSrc(LPCTSTR);
- BOOL GetShowControl();
- void SetShowControl(BOOL);
- BOOL GetAutostart();
- void SetAutostart(BOOL);
- BOOL GetTopmost();
- void SetTopmost(BOOL);
- BOOL GetAutosize();
- void SetAutosize(BOOL);
- CString GetScrollTextURL();
- void SetScrollTextURL(LPCTSTR);
- CString GetSkinPath();
- void SetSkinPath(LPCTSTR);
- CString GetLogo();
- void SetLogo(LPCTSTR);
- CString GetClient();
- void SetClient(LPCTSTR);
- // Operations
- public:
- BOOL Play();
- BOOL Stop();
- BOOL IsPsConnected();
- long GetHWND();
- long GetPlayPosition();
- void GetAuthorString(BSTR* pbstr);
- void GetTitleString(BSTR* pbstr);
- long GetPlayDuration();
- BOOL GetFullScreen();
- void SetFullScreen(long bFullScreen);
- void AboutBox();
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_POWERPLAYER_H__3E5B3AA0_C0D5_4FAC_B814_EB1CA2E83FBD__INCLUDED_)