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