📄 vrexengine.h
字号:
/*
* ============================================================================
* Name : CVRexEngine from VRexEngine.h
* Part of : Video Recording Example (VRex)
* Created : 16.03.2004 by Nokia Forum
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef __VREXENGINE_H__
#define __VREXENGINE_H__
#include <e32base.h>
#include <ecam.h> // CCamera, MCameraObserver
#include <mmfutilities.h> // KUidMediaTypeVideo
#include <mmfdatasourcesink.hrh>
#include <mmfcontrollerpluginresolver.h> // CMMFControllerPluginSelectionParameters
#include "VRexView.h"
#include "VideoRecorderAdapter.h"
#include "VideoPlayerAdapter.h"
class CVRexView;
class CVideoPlayerAdapter;
class CVideoRecorderAdapter;
/**
* CVRexEng engine class.
*/
class CVRexEngine : public CBase
{
// Methods
public:
/**
* Two-phased constructor.
*/
static CVRexEngine* NewL(CVRexView* aView);
/**
* Two-phased constructor.
*/
static CVRexEngine* NewLC(CVRexView* aView);
/**
* Destructor.
*/
~CVRexEngine();
private:
/**
* Standard EPOC 2nd phase constructor.
*/
void ConstructL(CVRexView* aView);
/**
* Default constructor.
*/
CVRexEngine();
// Data members
public: // Public members are used to keep the example code simple
CVideoPlayerAdapter* iVPlayer;
CVideoRecorderAdapter* iVRecorder;
private:
CVRexView* iView;
enum EngStates
{
EInit = 0,
EReserved,
EPowered,
EFrameBufferReady
};
TInt iState;
};
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -