tsample.h
来自「手机游戏:Symbian S60俄罗斯方块(Tetris)的源代码」· C头文件 代码 · 共 39 行
H
39 行
#ifndef __TSAMPLE_H
#define __TSAMPLE_H
#include <e32std.h>
// support 16-bit sample
class TSample
{
// Construct
public:
inline TSample() : iData(NULL){}
inline TSample(TInt16* aData, TInt aLength)
: iData(aData)
, iLength(aLength)
, iRepStart(0)
, iRepEnd(0){}
inline TSample(TInt16* aData, TInt aLength, TInt aRepStart, TInt aRepEnd)
: iData(aData)
, iLength(aLength)
, iRepStart(aRepStart)
, iRepEnd(aRepEnd){}
////////////////////////////////////////////////////////////////////
// Data
public:
TInt16* iData;
TInt iLength;
TInt iRepStart;
TInt iRepEnd;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?