applicationmanagement/inc/ApplicationManagementRfs.h
changeset 0 3ce708148e4d
child 57 6757f1e2efd2
equal deleted inserted replaced
-1:000000000000 0:3ce708148e4d
       
     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 #include <AknServerApp.h>
       
    24 #include <e32std.h>
       
    25 #include "ApplicationManagementClientServer.h"
       
    26 #include <ssl.h>
       
    27 #include <f32file.h>
       
    28 #include <AknServerApp.h>
       
    29 #include <uikon.hrh>
       
    30 
       
    31 class RAppMgmtRfs : public RAknAppServiceBase
       
    32 	{
       
    33 	public: // Constructors 
       
    34 
       
    35 	IMPORT_C RAppMgmtRfs();
       
    36 	
       
    37 	/**
       
    38 	 * Connect Connects to ApplicationManagmeent server (starts it if it's not 
       
    39 	 *	running
       
    40 	 * @return KErrNone or Symbian error code
       
    41 	 */
       
    42 	IMPORT_C TInt Connect();
       
    43 	
       
    44 	
       
    45 	/**
       
    46 	 * Close Closes connection to ApplicationManagement server
       
    47 	 * @return KErrNone or Symbian error code
       
    48 	 */
       
    49 	IMPORT_C void Close();
       
    50 
       
    51 	// New methods
       
    52 	
       
    53 	/**
       
    54 	 * PerformRfsL Causes ApplicationManagement to prepare for RFS. That means
       
    55 	 * 	uninstall of serveral applications, etc.
       
    56 	 * @return KErrNone or Symbian error code
       
    57 	 */
       
    58 	IMPORT_C void PerformRfsL() const;
       
    59 	
       
    60 	  /**
       
    61 		* Implementation of Service UID() from base class. Returns AM service UID 
       
    62 		* to framework
       
    63 		*	
       
    64 		* @return uid of AM service UID
       
    65 		*/	
       
    66 		TUid ServiceUid() const;  
       
    67 	};
       
    68 	
       
    69 #endif
       
    70 
       
    71 //  End of File