equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // INCLUDE FILES |
18 // INCLUDE FILES |
19 #include <mw/MemoryManager.h> |
|
20 #include "menusrv.h" |
19 #include "menusrv.h" |
21 |
20 |
22 // ==================== LOCAL FUNCTIONS ==================== |
21 // ==================== LOCAL FUNCTIONS ==================== |
23 |
22 |
24 /** |
23 /** |
25 * Executable entry point |
24 * Executable entry point |
26 * @return Error code. |
25 * @return Error code. |
27 */ |
26 */ |
28 GLDEF_C TInt E32Main() |
27 GLDEF_C TInt E32Main() |
29 { |
28 { |
30 RAllocator* iAllocator = MemoryManager::SwitchToFastAllocator(); |
29 return RunMenuServer(); |
31 |
|
32 TInt err = RunMenuServer(); |
|
33 |
|
34 MemoryManager::CloseFastAllocator(iAllocator); |
|
35 return err; |
|
36 } |
30 } |