00001
00002
00003 #ifndef __ACTIVEBUBBLESORTER_H__
00004 #define __ACTIVEBUBBLESORTER_H__
00005
00006 #include <e32base.h>
00007 #include <f32file.h>
00008
00009 class CActiveBubbleSorter : public CActive
00010 {
00011 public:
00012
00013 static CActiveBubbleSorter* NewL();
00014 ~CActiveBubbleSorter();
00015
00016 protected:
00017
00018
00019 void DoCancel();
00020 void RunL();
00021 TInt RunError(TInt aError);
00022
00023 private:
00024
00025 CActiveBubbleSorter();
00026 void ConstructL();
00027
00028 public:
00029
00030 void StartL();
00031
00032 private:
00033
00034 void ReadNumbersFromFileL();
00035 void WriteNumbersToFileL();
00036
00037 private:
00038 };
00039
00040 #endif // __ACTIVEBUBBLESORTER_H__
00041
00042