Changeset 964 for XmlTools2/trunk/xmlpatch.h
- Timestamp:
- Feb 24, 2014, 4:36:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XmlTools2/trunk/xmlpatch.h
r958 r964 3 3 4 4 #include "xmltools.h" 5 #include "xmlcustomcode.h" 5 6 #include "optionsparser.h" 6 #include <omp.h> // OpenMP support7 #include <ctime> // script execution time calculation8 9 #define SLOW_SCRIPT_TIME 0.1 // if a user script takes more than 0.1 seconds to execute give a warning.10 7 11 8 class XmlPatch … … 15 12 void readAndProcessPatchFile(); 16 13 private: 17 Q StringListpatchFilesToProcess;14 QVector<QString> patchFilesToProcess; 18 15 QString forceTargetFilesWildcard; 19 16 pugi::xml_document document; 20 17 pugi::xml_node rootNode; 21 18 bool backupsEnabled, verboseEnabled; 19 XmlCustomCode customCodeOperation; 22 20 QString getPatchParameterValue(const QString& line, QString parameter); 23 21 void insertNodesOperation(const QString &xmlString, XmlFilter &filters, const QString &xPathExpression, const QString &filesWildcard=""); … … 27 25 void checkPatchVersion(const QString &file, QTextStream &fileStream); 28 26 void checkAndProcessValidCommands(QTextStream &fileStream); 29 void displayJsException(QScriptEngine &engine, QScriptValue &engineResult);30 27 }; 31 28
Note:
See TracChangeset
for help on using the changeset viewer.