|
1 /* |
|
2 * Copyright (c) 2006,2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Provides CUniEditorAppServer class methods. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDES |
|
21 #include "UniEditorAppServer.h" |
|
22 #include "MuiuMsgEditorServiceSession.h" |
|
23 #include "MuiuMsgEditorServiceConst.h" |
|
24 |
|
25 // ================= MEMBER FUNCTIONS ======================= |
|
26 |
|
27 // --------------------------------------------------------- |
|
28 // CUniEditorAppServer::CreateServiceL |
|
29 // --------------------------------------------------------- |
|
30 // |
|
31 CApaAppServiceBase* CUniEditorAppServer::CreateServiceL( TUid aServiceType ) const |
|
32 { |
|
33 if ( aServiceType == TUid::Uid( KMuiuMsgEditorServiceUid ) ) |
|
34 { |
|
35 return new( ELeave ) CMuiuMsgEditorServiceSession; |
|
36 } |
|
37 else |
|
38 { |
|
39 return CAknAppServer::CreateServiceL( aServiceType ); |
|
40 } |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------- |
|
44 // CUniEditorAppServer::~CUniEditorAppServer |
|
45 // --------------------------------------------------------- |
|
46 // |
|
47 CUniEditorAppServer::~CUniEditorAppServer() |
|
48 { |
|
49 } |
|
50 |
|
51 // --------------------------------------------------------- |
|
52 // CUniEditorAppServer::CustomFailureActionL |
|
53 // --------------------------------------------------------- |
|
54 // |
|
55 CPolicyServer::TCustomResult CUniEditorAppServer::CustomFailureActionL( const RMessage2& /*aMsg*/, |
|
56 TInt /*aAction*/, |
|
57 const TSecurityInfo& /*aMissing*/ ) |
|
58 { |
|
59 return CPolicyServer::EPass; |
|
60 } |
|
61 |
|
62 // End of File |