applicationmanagement/inc/ApplicationManagementRfs.h
changeset 42 aa33c2cb9a50
equal deleted inserted replaced
41:c742e1129640 42:aa33c2cb9a50
       
     1 /*
       
     2 * Copyright (c) 2000 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: Implementation of applicationmanagement components
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __AMRFS_H__
       
    20 #define __AMRFS_H__
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class RAppMgmtRfs : public RSessionBase
       
    25 	{
       
    26 	public:
       
    27 	
       
    28 	/**
       
    29 	 * Connect Connects to ApplicationManagmeent server (starts it if it's not 
       
    30 	 *	running
       
    31 	 * @return KErrNone or Symbian error code
       
    32 	 */
       
    33 	IMPORT_C TInt Connect();
       
    34 	
       
    35 	
       
    36 	/**
       
    37 	 * Close Closes connection to ApplicationManagement server
       
    38 	 * @return KErrNone or Symbian error code
       
    39 	 */
       
    40 	IMPORT_C void Close();
       
    41 
       
    42 	// New methods
       
    43 	
       
    44 	/**
       
    45 	 * PerformRfsL Causes ApplicationManagement to prepare for RFS. That means
       
    46 	 * 	uninstall of serveral applications, etc.
       
    47 	 * @return KErrNone or Symbian error code
       
    48 	 */
       
    49 	IMPORT_C void PerformRfsL() const;
       
    50 	
       
    51 	  /**
       
    52 		* Implementation of Service UID() from base class. Returns AM service UID 
       
    53 		* to framework
       
    54 		*	
       
    55 		* @return uid of AM service UID
       
    56 		*/	
       
    57 		TUid ServiceUid() const;  
       
    58 	};
       
    59 	
       
    60 #endif
       
    61 
       
    62 //  End of File