From 2fa54411c310b87580f6f28edaa75aaad8a4588b Mon Sep 17 00:00:00 2001 From: "royqh1979@gmail.com" Date: Mon, 6 Sep 2021 01:47:07 +0800 Subject: [PATCH] work save --- RedPandaIDE/project.h | 56 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/RedPandaIDE/project.h b/RedPandaIDE/project.h index 8c355013..4db1664d 100644 --- a/RedPandaIDE/project.h +++ b/RedPandaIDE/project.h @@ -62,6 +62,62 @@ private: QByteArray mEncoding; }; +struct ProjectVersionInfo{ + int major; + int minor; + int release; + int build; + int languageID; + int charsetID; + QString companyName; + QString fileVersion; + QString fileDescription; + QString internalName; + QString legalCopyright; + QString legalTrademarks; + QString originalFilename; + QString productName; + QString productVersion; + bool autoIncBuildNr; + bool syncProduct; +}; + +struct ProjectOptions{ + ProjectType type; + int version; + bool useUTF8; + QStringList objfiles; + QString compilerCmd; + QString cppCompilerCmd; + QString linkerCmd; + QStringList includes; + QStringList libs; + QString privateResource; + QStringList resourceIncludes; + QStringList makeIncludes; + bool useGPP; + QString icon; + QString exeOutput; + QString objectOutput; + QString logOutput; + bool logOutputEnabled; + bool useCustomMakefile; + QString customMakefile; + bool usePrecompiledHeader; + bool precompiledHeader; + bool overrideOutput; + QString overridenOutput; + QString hostApplication; + bool includeVersionInfo; + bool supportXPThemes; + int compilerSet; + QString compilerOptions; + ProjectVersionInfo VersionInfo; + QString cmdLineArgs; + bool mStaticLink; + bool mAddCharset; +}; + class Project : public QObject { Q_OBJECT