pushmtm/ViewerSrc/PushViewerAppServer.cpp
changeset 51 48e827313edd
parent 37 481242ead638
child 53 f427d27b98d8
equal deleted inserted replaced
37:481242ead638 51:48e827313edd
     1 /*
       
     2 * Copyright (c) 2002-2004 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 the License "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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include    "PushViewerAppServer.h"
       
    22 #include    <MuiuMsgEditorServiceSession.h>
       
    23 #include    <MuiuMsgEditorServiceConst.h>
       
    24 
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // CPushViewerAppServer::CreateServiceL
       
    30 // -----------------------------------------------------------------------------
       
    31 //
       
    32 CApaAppServiceBase* 
       
    33 CPushViewerAppServer::CreateServiceL( TUid aServiceType ) const
       
    34     {
       
    35    	if ( aServiceType == TUid::Uid( KMuiuMsgEditorServiceUid ) )
       
    36    	    {
       
    37 		return new (ELeave) CMuiuMsgEditorServiceSession;
       
    38 		}
       
    39     else
       
    40         {
       
    41         return CAknAppServer::CreateServiceL( aServiceType );
       
    42         }
       
    43     }
       
    44 
       
    45 // -----------------------------------------------------------------------------
       
    46 // CPushViewerAppServer::CPushViewerAppServer
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 CPushViewerAppServer::CPushViewerAppServer( )
       
    50 	{	
       
    51 	}
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // CPushViewerAppServer::CustomFailureActionL
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 CPolicyServer::TCustomResult 
       
    58 CPushViewerAppServer::CustomFailureActionL( const RMessage2& /*aMsg*/, 
       
    59                                             TInt /*aAction*/, 
       
    60                                             const TSecurityInfo& /*aMissing*/ )
       
    61     {
       
    62     CPolicyServer::TCustomResult res( CPolicyServer::EPass );
       
    63     return res;
       
    64     }
       
    65 
       
    66 //  End of File  
       
    67