equal
deleted
inserted
replaced
20 #include "alfdecoderserverclient.h" |
20 #include "alfdecoderserverclient.h" |
21 #include "alfstreamerconsts.h" |
21 #include "alfstreamerconsts.h" |
22 #include "alfuids.h" |
22 #include "alfuids.h" |
23 |
23 |
24 _LIT(KAlfServerThreadName, "alfredserver"); |
24 _LIT(KAlfServerThreadName, "alfredserver"); |
|
25 |
|
26 |
|
27 // Implements just Error() to avoid panic |
|
28 NONSHARABLE_CLASS(CSimpleScheduler) : public CActiveScheduler |
|
29 { |
|
30 void Error( TInt ) const{} // From CActiveScheduler |
|
31 }; |
|
32 |
|
33 |
25 static void RunServerL() |
34 static void RunServerL() |
26 { |
35 { |
27 CActiveScheduler* s=new(ELeave) CActiveScheduler; |
36 CActiveScheduler* s=new(ELeave) CSimpleScheduler; |
28 CleanupStack::PushL(s); |
37 CleanupStack::PushL(s); |
29 CActiveScheduler::Install(s); |
38 CActiveScheduler::Install(s); |
30 |
39 |
31 CAlfAppUi* appUiStub = new (ELeave) CAlfAppUi(); |
40 CAlfAppUi* appUiStub = new (ELeave) CAlfAppUi(); |
32 CleanupStack::PushL(appUiStub); |
41 CleanupStack::PushL(appUiStub); |