|
1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * Provides CMsgSmsViewerAppServer class methods. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // INCLUDES |
|
22 #include "MsgSmsViewerAppServer.h" |
|
23 #include <MuiuMsgEditorServiceSession.h> |
|
24 #include <MuiuMsgEditorServiceConst.h> |
|
25 |
|
26 // ================= MEMBER FUNCTIONS ======================= |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CSmsViewerAppServer::CreateServiceL |
|
29 // |
|
30 // ----------------------------------------------------------------------------- |
|
31 // |
|
32 CApaAppServiceBase* CSmsViewerAppServer::CreateServiceL( TUid aServiceType ) const |
|
33 { |
|
34 if (aServiceType == TUid::Uid(KMuiuMsgEditorServiceUid)) |
|
35 { |
|
36 return new(ELeave) CMuiuMsgEditorServiceSession; |
|
37 } |
|
38 return CAknAppServer::CreateServiceL( aServiceType ); |
|
39 } |
|
40 // ----------------------------------------------------------------------------- |
|
41 // CSmsViewerAppServer::CreateServiceL |
|
42 // |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 CPolicyServer::TCustomResult CSmsViewerAppServer::CustomFailureActionL( |
|
46 const RMessage2& /*aMsg*/, |
|
47 TInt /*aAction*/, |
|
48 const TSecurityInfo& /*aMissing*/ ) |
|
49 { |
|
50 CPolicyServer::TCustomResult res = CPolicyServer::EPass; |
|
51 return res; |
|
52 } |
|
53 |
|
54 // End of File |