summaryrefslogtreecommitdiff
path: root/qmake/generators/win32/msvc_objectmodel.h
Side-by-side diff
Diffstat (limited to 'qmake/generators/win32/msvc_objectmodel.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/generators/win32/msvc_objectmodel.h100
1 files changed, 49 insertions, 51 deletions
diff --git a/qmake/generators/win32/msvc_objectmodel.h b/qmake/generators/win32/msvc_objectmodel.h
index 2d09280..1dca68d 100644
--- a/qmake/generators/win32/msvc_objectmodel.h
+++ b/qmake/generators/win32/msvc_objectmodel.h
@@ -41,5 +41,5 @@
/*
- This Object model is of course VERY simplyfied,
+ This Object model is of course VERY simplyfied,
and does not actually follow the original MSVC
object model. However, it fulfilles the basic
@@ -48,7 +48,7 @@
/*
- If a triState value is 'unset' then the
+ If a triState value is 'unset' then the
corresponding property is not in the output,
- forcing the tool to utilize default values.
+ forcing the tool to utilize default values.
False/True values will be in the output...
*/
@@ -84,5 +84,5 @@ enum basicRuntimeCheckOption {
enum browseInfoOption {
brInfoNone,
- brAllInfo,
+ brAllInfo,
brNoLocalSymbols
};
@@ -119,5 +119,5 @@ enum debugOption {
debugLineInfoOnly,
debugEnabled,
- debugEditAndContinue
+ debugEditAndContinue
};
enum eAppProtectionOption {
@@ -125,5 +125,5 @@ enum eAppProtectionOption {
eAppProtectLow,
eAppProtectMedium,
- eAppProtectHigh
+ eAppProtectHigh
};
enum enumResourceLangID {
@@ -232,5 +232,5 @@ enum favorSizeOrSpeedOption {
favorNone,
favorSpeed,
- favorSize
+ favorSize
};
enum genProxyLanguage {
@@ -246,10 +246,10 @@ enum linkIncrementalType {
linkIncrementalDefault,
linkIncrementalNo,
- linkIncrementalYes
+ linkIncrementalYes
};
enum linkProgressOption {
linkProgressNotSet,
linkProgressAll,
- linkProgressLibs
+ linkProgressLibs
};
enum machineTypeOption {
@@ -265,5 +265,5 @@ enum midlErrorCheckOption {
midlEnableCustom,
midlDisableAll,
- midlEnableAll
+ midlEnableAll
};
enum midlStructMemberAlignOption {
@@ -285,5 +285,5 @@ enum midlWarningLevelOption {
midlWarningLevel_2,
midlWarningLevel_3,
- midlWarningLevel_4
+ midlWarningLevel_4
};
enum optFoldingType {
@@ -297,5 +297,5 @@ enum optimizeOption {
optimizeMaxSpeed,
optimizeFull,
- optimizeCustom
+ optimizeCustom
};
enum optRefType {
@@ -313,20 +313,20 @@ enum pchOption {
pchCreateUsingSpecific,
pchGenerateAuto,
- pchUseUsingSpecific
+ pchUseUsingSpecific
};
enum preprocessOption {
preprocessNo,
preprocessYes,
- preprocessNoLineNumbers
+ preprocessNoLineNumbers
};
enum ProcessorOptimizeOption {
procOptimizeBlended,
procOptimizePentium,
- procOptimizePentiumProAndAbove
+ procOptimizePentiumProAndAbove
};
enum RemoteDebuggerType {
DbgLocal,
DbgRemote,
- DbgRemoteTCPIP
+ DbgRemoteTCPIP
};
enum runtimeLibraryOption {
@@ -336,5 +336,5 @@ enum runtimeLibraryOption {
rtMultiThreadedDebugDLL,
rtSingleThreaded,
- rtSingleThreadedDebug
+ rtSingleThreadedDebug
};
enum structMemberAlignOption {
@@ -344,5 +344,5 @@ enum structMemberAlignOption {
alignFourBytes,
alignEightBytes,
- alignSixteenBytes
+ alignSixteenBytes
};
enum subSystemOption {
@@ -367,15 +367,15 @@ enum TypeOfDebugger {
DbgManagedOnly,
DbgMixed,
- DbgAuto
+ DbgAuto
};
enum useOfATL {
useATLNotSet,
useATLStatic,
- useATLDynamic
+ useATLDynamic
};
enum useOfMfc {
useMfcStdWin,
useMfcStatic,
- useMfcDynamic
+ useMfcDynamic
};
enum warningLevelOption {
@@ -391,12 +391,10 @@ protected:
// Functions
VCToolBase(){};
- ~VCToolBase(){};
+ virtual ~VCToolBase(){}
virtual bool parseOption( const char* option ) = 0;
public:
- bool parseOptions( QStringList& options ) {
- bool result = TRUE;
- for ( QStringList::ConstIterator it=options.begin(); (it!=options.end()) && result; it++ )
- result = parseOption( (*it).latin1() );
- return result;
+ void parseOptions( QStringList& options ) {
+ for ( QStringList::ConstIterator it=options.begin(); (it!=options.end()); it++ )
+ parseOption( (*it).latin1() );
}
};
@@ -410,7 +408,7 @@ public:
// Functions
VCCLCompilerTool();
- ~VCCLCompilerTool(){};
- virtual bool parseOption( const char* option );
-
+ virtual ~VCCLCompilerTool(){}
+ bool parseOption( const char* option );
+
// Variables
QStringList AdditionalIncludeDirectories;
@@ -481,6 +479,6 @@ public:
// Functions
VCLinkerTool();
- ~VCLinkerTool(){};
- virtual bool parseOption( const char* option );
+ virtual ~VCLinkerTool(){}
+ bool parseOption( const char* option );
// Variables
@@ -546,6 +544,6 @@ public:
// Functions
VCMIDLTool();
- ~VCMIDLTool(){};
- virtual bool parseOption( const char* option );
+ virtual ~VCMIDLTool(){}
+ bool parseOption( const char* option );
// Variables
@@ -588,6 +586,6 @@ public:
// Functions
VCLibrarianTool();
- ~VCLibrarianTool(){};
- virtual bool parseOption( const char* option ){ return FALSE; };
+ virtual ~VCLibrarianTool(){}
+ bool parseOption( const char* ){ return FALSE; };
// Variables
@@ -609,6 +607,6 @@ public:
// Functions
VCCustomBuildTool();
- ~VCCustomBuildTool(){};
- virtual bool parseOption( const char* option ){ return FALSE; };
+ virtual ~VCCustomBuildTool(){}
+ bool parseOption( const char* ){ return FALSE; };
// Variables
@@ -626,6 +624,6 @@ public:
// Functions
VCResourceCompilerTool();
- ~VCResourceCompilerTool(){};
- virtual bool parseOption( const char* option ){ return FALSE; };
+ virtual ~VCResourceCompilerTool(){}
+ bool parseOption( const char* ){ return FALSE; };
// Variables
@@ -646,6 +644,6 @@ protected:
// Functions
VCEventTool() : ExcludedFromBuild( unset ){};
- ~VCEventTool(){};
- virtual bool parseOption( const char* option ){ return FALSE; };
+ virtual ~VCEventTool(){}
+ bool parseOption( const char* ){ return FALSE; };
public:
@@ -658,23 +656,23 @@ public:
};
-class VCPostBuildEventTool : public VCEventTool
+class VCPostBuildEventTool : public VCEventTool
{
public:
VCPostBuildEventTool();
- ~VCPostBuildEventTool(){};
+ ~VCPostBuildEventTool(){}
};
-class VCPreBuildEventTool : public VCEventTool
+class VCPreBuildEventTool : public VCEventTool
{
public:
VCPreBuildEventTool();
- ~VCPreBuildEventTool(){};
+ ~VCPreBuildEventTool(){}
};
-class VCPreLinkEventTool : public VCEventTool
+class VCPreLinkEventTool : public VCEventTool
{
public:
VCPreLinkEventTool();
- ~VCPreLinkEventTool(){};
+ ~VCPreLinkEventTool(){}
};
@@ -684,5 +682,5 @@ public:
// Functions
VCConfiguration();
- ~VCConfiguration(){};
+ ~VCConfiguration(){}
// Variables
@@ -721,5 +719,5 @@ public:
// Functions
VCFilter();
- ~VCFilter(){};
+ ~VCFilter(){}
void generateMOC( QTextStream &strm, QString str ) const;
void generateUIC( QTextStream &strm, const QString& str ) const;
@@ -740,5 +738,5 @@ public:
// Functions
VCProject();
- ~VCProject(){};
+ ~VCProject(){}
// Variables