Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
chxavplaylistnavicontrol.h
Package: helix.src.0812.rar [view]
Upload User: zhongxx05
Upload Date: 2007-06-06
Package Size: 33641k
Code Size: 2k
Category:
Symbian
Development Platform:
C/C++
- /*============================================================================*
- *
- * (c) 1995-2002 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- *============================================================================*/
- #if !defined(CHXAVPLAYLISTNAVICONTROL_INCLUDED__)
- #define CHXAVPLAYLISTNAVICONTROL_INCLUDED__
- #include "chxavrefptr.h"
- #include "chxavtextcontrol.h"
- #include "chxavplayer.h"
- #include "comptr.h"
- // class CHXAvPlaylistNaviControl
- class CHXAvPlaylistNaviControl
- : public CCoeControl
- , public IHXSymPlayerStateObserver
- {
- public:
- // ctor and dtor
- CHXAvPlaylistNaviControl();
- virtual ~CHXAvPlaylistNaviControl();
- static CHXAvPlaylistNaviControl* NewL(CHXAvPlayer* pPlayer, const CCoeControl& parent);
- void ConstructL(CHXAvPlayer* pPlayer, const CCoeControl& parent);
- void SetRefreshCommandL(const CHXAvCommand& cmd);
- // IHXSymPlayerStateObserver
- void OnAdvancePlaylist();
- void UpdatePlaylistTextL();
- protected:
- virtual void Draw(const TRect& rect) const;
- virtual TInt CountComponentControls() const;
- virtual CCoeControl* ComponentControl(TInt aIndex) const;
- void ShowPlaylistText(bool bShow);
- void OnHidePlaylistTextTimer();
- private:
- // disallow assignment and copy
- CHXAvPlaylistNaviControl(const CHXAvPlaylistNaviControl& rhs);
- CHXAvPlaylistNaviControl& operator=(const CHXAvPlaylistNaviControl& rhs);
- public:
- // methods
- private:
- // implementation
- private:
- // data
- CHXAvCommandPtr m_spRefreshCmd;
- refptr<CHXAvTextControl> m_spPlaylistText;
- TRect m_rcParent;
- comptr<CHXAvPlayer> m_spPlayer;
- };
- inline
- void CHXAvPlaylistNaviControl::SetRefreshCommandL(const CHXAvCommand& cmd)
- {
- m_spRefreshCmd = cmd.CloneL();
- }
- #endif // CHXAVPLAYLISTNAVICONTROL_INCLUDED__