equal
deleted
inserted
replaced
18 #ifndef __STOPPER_H__ |
18 #ifndef __STOPPER_H__ |
19 #define __STOPPER_H__ |
19 #define __STOPPER_H__ |
20 |
20 |
21 // INCLUDES |
21 // INCLUDES |
22 |
22 |
23 #include "MemoryManager.h" |
23 #include <MemoryManager.h> |
24 |
24 |
25 // CONSTANTS |
25 // CONSTANTS |
|
26 static const TUint KGoodMemoryThreshold = ( 4*1024*1024 ); // keep checking memory levels |
|
27 static const TUint KLowMemoryThreshold = ( 2*1024*1024 ); // should stop activities |
|
28 static const TUint KStopThreshold = ( 1024*1024 ); // unsafe limit |
26 |
29 |
27 // DATA TYPES |
30 // DATA TYPES |
28 |
31 |
29 // CLASS DECLARATION |
32 // CLASS DECLARATION |
30 |
33 |
89 TInt iMemRequested; |
92 TInt iMemRequested; |
90 TSchedulerState iState; |
93 TSchedulerState iState; |
91 RTimer iCheckTimer; |
94 RTimer iCheckTimer; |
92 TInt iNextStop; |
95 TInt iNextStop; |
93 }; |
96 }; |
94 |
|
95 #endif |
97 #endif |