📄 vrexvideoview.h
字号:
/*
* ============================================================================
* Name : CVRexVideoView from VRexVideoView.h
* Part of : Video Example
* Created : 30/08/2006 by Forum Nokia
* Implementation notes:
* Version : 2.0
* Copyright: Nokia Corporation, 2006
* ============================================================================
*/
#ifndef VREXVIDEOVIEW_H
#define VREXVIDEOVIEW_H
// INCLUDES
#include <aknview.h>
#include <coecntrl.h>
#include <coemain.h>
#include "VRexEngine.h"
// CONSTANTS
// UID of view
const TUid KView2Id = {2};
// FORWARD DECLARATIONS
class CVRexVideoContainer;
class CVRexEngine;
// CLASS DECLARATION
/**
* CVRexVideoView view class.
*
*/
class CVRexVideoView : public CAknView
{
public: // Constructors and destructor
CVRexVideoView();
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CVRexVideoView();
public: // Functions from base classes
/**
* From CAknView returns Uid of View
* @return TUid uid of the view
*/
TUid Id() const;
/**
* From MEikMenuObserver delegate commands from the menu
* @param aCommand a command emitted by the menu
* @return void
*/
void HandleCommandL(TInt aCommand);
/**
* From CAknView reaction if size change
* @return void
*/
void HandleClientRectChange();
/**
* This method changes the CBA, 0 resets to default CBA.
* @return void
*/
void SwitchCbaL(TInt aResourceId = 0);
/**
* This method stops a playing video clip.
* @return void
*/
void DoStopL();
/**
* This method records a video clip.
* @return void
*/
void DoRecordL();
/**
* This method pauses a playing video clip.
* @return void
*/
void DoPauseL();
/**
* This method resumes a playing video file.
* @return void
*/
void DoResumeL();
/**
* This method initializes a video engine.
* @return void
*/
void DoInitControllerL();
/**
* This method returns app to previous view.
* @return void
*/
void DoReturnL();
private:
/**
* From CAknView activate the view
* @param aPrevViewId
* @param aCustomMessageId
* @param aCustomMessage
* @return void
*/
void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
const TDesC8& aCustomMessage);
/**
* From CAknView deactivate the view (free resources)
* @return void
*/
void DoDeactivate();
/**
* Called by the framework when status pane size changes
* @return void
*/
void HandleStatusPaneSizeChange();
private: // Data
CVRexVideoContainer* iContainer;
CVRexEngine* iEngine;
// previous view
TVwsViewId iPrevious;
};
#endif //VREXVIDEOVIEW_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -