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