chxavplayerdoc.h
上传用户:dangjiwu
上传日期:2013-07-19
资源大小:42019k
文件大小:1k
源码类别:

Symbian

开发平台:

Visual C++

  1. /************************************************************************
  2.  * chxavplayerdoc.h
  3.  * ----------------
  4.  *
  5.  * Synopsis:
  6.  * Contains the declaration of the CHXAvPlayerDoc class.  This is the
  7.  * standard document that must be created by the CHXAvPlayerApp class.
  8.  *
  9.  *
  10.  * Target:
  11.  * Symbian OS
  12.  *
  13.  *
  14.  * (c) 1995-2002 RealNetworks, Inc. Patents pending. All rights reserved.
  15.  *
  16.  ************************************************************************/
  17. #ifndef CHXAVPLAYERDOC_H__
  18. #define CHXAVPLAYERDOC_H__
  19. // includes
  20. #include <akndoc.h>
  21. #include "chxclientenginemanager.h"
  22. // forward declarations
  23. class CHXAvPlayerUI;
  24. class CHXAvPlayerApp;
  25. class CHXAvPlayerDoc 
  26. : public CAknDocument
  27. {
  28. public:
  29. // ctor and dtor
  30.     static CHXAvPlayerDoc* NewL(CEikApplication& aApp);
  31.     virtual ~CHXAvPlayerDoc();
  32.     // CAknDocument
  33.     virtual CFileStore* OpenFileL(TBool aDoOpen,const TDesC& aFilename,RFs& aFs);
  34.     CEikAppUi* CreateAppUiL();
  35.     void SetEngineManager(const CHXClientEngineManagerPtr& spEngineMgr);
  36. private:
  37. // ctor
  38.     CHXAvPlayerDoc(CEikApplication& aApp);
  39.     void ConstructL();
  40.     
  41. private:
  42.     CHXClientEngineManagerPtr m_spEngineMgr;
  43. };
  44. #endif // CHXAVPLAYERDOC_H__