browserui/browser/BrowserAppInc/BrowserAppServer.h
branchRCL_3
changeset 64 6385c4c93049
parent 63 4baee4f15982
child 65 8e6fa1719340
equal deleted inserted replaced
63:4baee4f15982 64:6385c4c93049
     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 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:  Header file for CBrowserAppServer
       
    15 *
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef BrowserAppServer_H
       
    21 #define BrowserAppServer_H
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include <e32base.h>
       
    25 #include <AknServerApp.h>
       
    26 
       
    27 // CLASS DECLARATION
       
    28 class CBrowserAppServer : public CAknAppServer
       
    29 {
       
    30 public: 
       
    31 	/**
       
    32 	* This is a factory function that takes a UID indicating 
       
    33 	* the type of service that is to be created. The server 
       
    34 	* application should implement this function to create and 
       
    35 	* return service implementations for service UIDs that it 
       
    36 	* recognises, and base call for all other UIDs.
       
    37     * @param aServiceType The service object to create
       
    38 	* @return Object for all service implementations
       
    39 	*/
       
    40 	CApaAppServiceBase* CreateServiceL(TUid aServiceType) const; // from CAknAppServer
       
    41 	
       
    42 	/**
       
    43 	* Second-phase constructor
       
    44     * @param The server name. ( called by the framework )
       
    45 	*/	
       
    46     void ConstructL(const TDesC& aFixedServerName);
       
    47 protected:
       
    48 
       
    49 	/**
       
    50 	* ( not much info about this method... )
       
    51 	* Check the capabilities of a client.
       
    52     * @param aMsg Object which encapsulates a client request.
       
    53     * @param aAction 
       
    54     * @param aMissing
       
    55 	* @return
       
    56 	*/
       
    57 	TCustomResult CustomSecurityCheckL(const RMessage2& aMsg, TInt& aAction, TSecurityInfo& aMissing );
       
    58 	
       
    59 	/**
       
    60 	* ( not much info about this method... )	
       
    61 	* Check the capabilities of a client.
       
    62     * @param aMsg Object which encapsulates a client request.
       
    63     * @param aAction 
       
    64     * @param aMissing
       
    65 	* @return
       
    66 	*/	
       
    67 	TCustomResult CustomFailureActionL(const RMessage2& /*aMsg*/, TInt /*aAction*/, const TSecurityInfo& /*aMissing*/);
       
    68 	
       
    69 private:
       
    70 	/**
       
    71 	* Document capabilities.
       
    72 	*/
       
    73 	TCapability iClientReqs;
       
    74 };
       
    75 
       
    76 #endif	// BrowserAppServer_H
       
    77 // End Of File