equal
deleted
inserted
replaced
30 #include <ecom.h> |
30 #include <ecom.h> |
31 #include <alf/AlfTransEffectPlugin.h> |
31 #include <alf/AlfTransEffectPlugin.h> |
32 #include <alf/AlfTransEffectPlugin.hrh> |
32 #include <alf/AlfTransEffectPlugin.hrh> |
33 |
33 |
34 |
34 |
|
35 // Implements just Error() to avoid panic |
|
36 NONSHARABLE_CLASS(CSimpleScheduler) : public CActiveScheduler |
|
37 { |
|
38 void Error( TInt ) const{} // From CActiveScheduler |
|
39 }; |
|
40 |
35 // ================================== |
41 // ================================== |
36 // Launcher implementation. |
42 // Launcher implementation. |
37 // ================================== |
43 // ================================== |
38 |
44 |
39 // --------------------------------------------------------------------------- |
45 // --------------------------------------------------------------------------- |
64 { |
70 { |
65 thread.SetPriority(EPriorityAbsoluteHigh); |
71 thread.SetPriority(EPriorityAbsoluteHigh); |
66 thread.Close(); |
72 thread.Close(); |
67 |
73 |
68 // Set up scheduler and cleanup stack for this thread |
74 // Set up scheduler and cleanup stack for this thread |
69 CActiveScheduler* scheduler = new CActiveScheduler; |
75 CActiveScheduler* scheduler = new CSimpleScheduler; |
70 if (!scheduler) |
76 if (!scheduler) |
71 { |
77 { |
72 return KErrNoMemory; |
78 return KErrNoMemory; |
73 } |
79 } |
74 CActiveScheduler::Install(scheduler); |
80 CActiveScheduler::Install(scheduler); |