| 1 | /*******************************************************************\r |
| 2 | *\r |
| 3 | * File: PolledAS.h\r |
| 4 | *\r |
| 5 | * Author: Peter van Sebille (peter@yipton.net)\r |
| 6 | *\r |
| 7 | * (c) Copyright 2001, Peter van Sebille\r |
| 8 | * All Rights Reserved\r |
| 9 | *\r |
| 10 | *******************************************************************/\r |
| 11 | \r |
| 12 | #ifndef __POLLED_AS_H\r |
| 13 | #define __POLLED_AS_H\r |
| 14 | \r |
| 15 | class CPrivatePolledActiveScheduler;\r |
| 16 | \r |
| 17 | class CPolledActiveScheduler : public CBase\r |
| 18 | {\r |
| 19 | public:\r |
| 20 | ~CPolledActiveScheduler();\r |
| 21 | static CPolledActiveScheduler* NewL();\r |
| 22 | static CPolledActiveScheduler* Instance();\r |
| 23 | void Schedule();\r |
| 24 | protected:\r |
| 25 | CPolledActiveScheduler(){};\r |
| 26 | void ConstructL();\r |
| 27 | CPrivatePolledActiveScheduler* iPrivatePolledActiveScheduler;\r |
| 28 | };\r |
| 29 | \r |
| 30 | \r |
| 31 | #endif /* __POLLED_AS_H */\r |
| 32 | \r |