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