secureswitools/swisistools/source/interpretsislib/parameterlist.h
branchRCL_3
changeset 73 79647526f98c
parent 66 8b7f4e561641
child 81 42552535c1ac
equal deleted inserted replaced
70:e8965914fac7 73:79647526f98c
     1 /*
     1 /*
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-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".
    43 public:
    43 public:
    44 	/**
    44 	/**
    45 	 * Default constructor. 
    45 	 * Default constructor. 
    46 	 */
    46 	 */
    47 	InstallSISFile() : iFileName(L""), iTargetDrive(L'$'), iGenerateStub(false),
    47 	InstallSISFile() : iFileName(L""), iTargetDrive(L'$'), iGenerateStub(false),
    48 						iNonRemovable(false),iReadOnly(false), iNotRegister(false), iSUFlag(false) {}
    48 						iNonRemovable(false),iReadOnly(false), iNotRegister(false), 
       
    49 						iSUFlag(false), iGenerateRomStub(false) {}
    49 
    50 
    50 	/**
    51 	/**
    51 	 * Constructor
    52 	 * Constructor
    52 	 */
    53 	 */
    53 	InstallSISFile(std::wstring aName, int aDrive, bool aSUFlag)
    54 	InstallSISFile(std::wstring aName, int aDrive, bool aSUFlag)
    54 		: iFileName(aName), iTargetDrive(aDrive), iGenerateStub(false), 
    55 		: iFileName(aName), iTargetDrive(aDrive), iGenerateStub(false), 
    55 			iNonRemovable(false),iReadOnly(false), iNotRegister(false), iSUFlag(aSUFlag) {}
    56 			iNonRemovable(false),iReadOnly(false), iNotRegister(false), 
       
    57 			iSUFlag(aSUFlag), iGenerateRomStub(false) {}
    56 
    58 
    57 	/**
    59 	/**
    58 	 * Constructor
    60 	 * Constructor
    59 	 */
    61 	 */
    60 	InstallSISFile(std::wstring aName, int aDrive, bool aGenerateStub, bool aNonRemovable,
    62 	InstallSISFile(std::wstring aName, int aDrive, bool aGenerateStub, bool aNonRemovable,
    61 					bool aReadOnly, bool aNotRegister, bool aSUFlag)
    63 					bool aReadOnly, bool aNotRegister, bool aSUFlag, bool aGenerateRomStub)
    62 		: iFileName(aName), iTargetDrive(aDrive), iGenerateStub(aGenerateStub), 
    64 		: iFileName(aName), iTargetDrive(aDrive), iGenerateStub(aGenerateStub), 
    63 			iNonRemovable(aNonRemovable), iReadOnly(aReadOnly), iNotRegister(aNotRegister), iSUFlag(aSUFlag) {}
    65 			iNonRemovable(aNonRemovable), iReadOnly(aReadOnly), iNotRegister(aNotRegister),
       
    66 			iSUFlag(aSUFlag), iGenerateRomStub(aGenerateRomStub) {}
    64 
    67 
    65 public:
    68 public:
    66 	std::wstring iFileName; // SIS file name
    69 	std::wstring iFileName; // SIS file name
    67 	int iTargetDrive;		// Target drive
    70 	int iTargetDrive;		// Target drive
    68 	bool iGenerateStub;		// Whether to generate stub sis file for this sis or not.
    71 	bool iGenerateStub;		// Whether to generate stub sis file for this sis or not.
       
    72 	bool iGenerateRomStub;	// Whether to generate stub sis file for ROM Install.
    69 	bool iNonRemovable;		// Whether this is a non-removable SIS or not.
    73 	bool iNonRemovable;		// Whether this is a non-removable SIS or not.
    70 	bool iReadOnly;		    // Whether this is a Readonly SIS or not.
    74 	bool iReadOnly;		    // Whether this is a Readonly SIS or not.
    71 	bool iNotRegister;		// Whether to register the sis or not.
    75 	bool iNotRegister;		// Whether to register the sis or not.
    72 	bool iSUFlag;			// Whether SU flag is set for this or not.
    76 	bool iSUFlag;			// Whether SU flag is set for this or not.
    73 	};
    77 	};
   114         EFlagsCDriveSet             = 0x0004,
   118         EFlagsCDriveSet             = 0x0004,
   115         EFlagsZDriveSet             = 0x0008,
   119         EFlagsZDriveSet             = 0x0008,
   116         EFlagsSysDriveSet           = 0x0010,
   120         EFlagsSysDriveSet           = 0x0010,
   117         EFlagsStubDirectorySet      = 0x0020,
   121         EFlagsStubDirectorySet      = 0x0020,
   118         EFlagsConfigIniSet          = 0x0040,
   122         EFlagsConfigIniSet          = 0x0040,
   119 		EFlagsDisableZDriveChecksSet= 0x0080
   123 		EFlagsDisableZDriveChecksSet= 0x0080,
       
   124         EFlagsRomInstallSet         = 0x0100,
       
   125         EFlagsExtDriveSet	        = 0x0200,
   120         };
   126         };
   121 
   127 
   122 public: // Constructors & destructor
   128 public: // Constructors & destructor
   123 	/**
   129 	/**
   124 	 * Default Constructor
   130 	 * Default Constructor