installationservices/swi/inc/integrityservices.h
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
     1 /*
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   273 		 * 
   273 		 * 
   274 		 * @param aFileName the filename to modify. If the filename does not represent a directory, it is not modified
   274 		 * @param aFileName the filename to modify. If the filename does not represent a directory, it is not modified
   275 		 */
   275 		 */
   276 		static void NormalizeDirectoryName(TDes& aFileName);
   276 		static void NormalizeDirectoryName(TDes& aFileName);
   277 		
   277 		
   278 		/**
       
   279 		Creates a backup file by copying the source to a defined backup name. This MUST be used for executables.
       
   280 		The source files will then be deleted by invoking RLoader::Delete
       
   281 		@param aSource	the file to backup
       
   282 		@param aBackup	the name of the backup file
       
   283 		*/
       
   284 		void CopyToBackupL(const TDesC& aSource, const TDesC& aBackup);
       
   285 
   278 
   286 	private:
   279 	private:
   287 	
   280 	
   288 	    /**
   281 	    /**
   289 		 * Pointer to the journal - uses log file(s) for persistant storage
   282 		 * Pointer to the journal - uses log file(s) for persistant storage