examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04309.cb2/starter/inc/ActiveBubbleSorter.h

00001 // Copyright (c) 2006 Nokia Corporation.
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: // Construction/destruction
00012 
00013         static CActiveBubbleSorter* NewL();
00014         ~CActiveBubbleSorter();
00015 
00016         protected: // from CActive
00017 
00018                 // from CActive
00019         void DoCancel();
00020         void RunL();
00021                 TInt RunError(TInt aError);
00022                 
00023         private: // Construction
00024     
00025         CActiveBubbleSorter();
00026         void ConstructL();
00027 
00028         public: // Public functions
00029         
00030         void StartL();
00031         
00032         private: // Internal functions
00033         
00034                 void ReadNumbersFromFileL();
00035                 void WriteNumbersToFileL();
00036 
00037         private: // data
00038         };
00039 
00040 #endif // __ACTIVEBUBBLESORTER_H__
00041 
00042 // End of file

Generated by  doxygen 1.6.2