activebubblesorter.h
来自「symbian开发得基础用书」· C头文件 代码 · 共 50 行
H
50 行
// Copyright (c) 2006 Nokia Corporation.
#ifndef __ACTIVEBUBBLESORTER_H__
#define __ACTIVEBUBBLESORTER_H__
#include <e32base.h>
#include <f32file.h>
class MBubbleSortNotify;
class CActiveBubbleSorter : public CActive
{
public: // Construction/destruction
static CActiveBubbleSorter* NewL(MBubbleSortNotify& aNotifier);
~CActiveBubbleSorter();
protected: // from CActive
// from CActive
void DoCancel();
void RunL();
TInt RunError(TInt aError);
private: // Construction
CActiveBubbleSorter(MBubbleSortNotify& aNotifier);
void ConstructL();
public: // Public functions
void StartL();
private: // Internal functions
void ReadNumbersFromFileL();
void WriteNumbersToFileL();
private: // data
TInt iX;
TInt iY;
RArray<TInt> iNumbersArray;
MBubbleSortNotify& iNotifier;
};
#endif // __ACTIVEBUBBLESORTER_H__
// End of file
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?