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
chxavplayerdoc.cpp
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++
- /************************************************************************
- * chxavplayerdoc.cpp
- * ------------------
- *
- * Synopsis:
- * One doc object is created for each app instance. The doc is used
- * to create a UI instance.
- *
- *
- * Target:
- * Symbian OS
- *
- *
- * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
- *
- ************************************************************************/
- #include "hxsym_debug.h"
- #include "chxavplayerdoc.h"
- #include "chxavplayerui.h"
- /*
- * CHXAvPlayerDoc
- * --------------
- *
- */
- CHXAvPlayerDoc::CHXAvPlayerDoc(CEikApplication& aApp)
- : CAknDocument(aApp)
- {
- }
- /*
- * ~CHAvPlayerDoc
- * --------------
- *
- */
- CHXAvPlayerDoc::~CHXAvPlayerDoc()
- {
- }
- /*
- * CreateAppUiL
- * ------------
- *
- */
- CEikAppUi *
- CHXAvPlayerDoc::CreateAppUiL()
- {
- // create the ui class that manages all the player views
- CHXAvPlayerUI* pUi = new (ELeave) CHXAvPlayerUI();
- return pUi;
- }
- void CHXAvPlayerDoc::SetEngineManager(const CHXClientEngineManagerPtr& spEngineMgr)
- {
- //
- // we keep a reference to the client engine manager
- // in the doc class in order to ensure that the client
- // core dll remains loaded for the full lifetime of the
- // ui class and all its views
- //
- m_spEngineMgr = spEngineMgr;
- }
- /*
- * OpenFileL
- * ---------
- * Open the given filename.
- *
- */
- CFileStore*
- CHXAvPlayerDoc::OpenFileL(TBool /*aDoOpen*/, const TDesC& aFilename, RFs& /*aFs*/)
- {
- CHXAvPlayerUI *pUI = static_cast<CHXAvPlayerUI *>(iAppUi);
- pUI->OpenFileL(aFilename);
- return 0;
- }
- /*
- * ConstructL
- * ----------
- *
- */
- void
- CHXAvPlayerDoc::ConstructL()
- {
- }
- /*
- * NewL
- * ----
- *
- */
- CHXAvPlayerDoc *
- CHXAvPlayerDoc::NewL(CEikApplication& aApp)
- {
- CHXAvPlayerDoc* self = new (ELeave) CHXAvPlayerDoc(aApp);
- CleanupStack::PushL(self);
- self->ConstructL();
- CleanupStack::Pop();
- return self;
- }