summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackDragNDropGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CPack/cmCPackDragNDropGenerator.h')
-rw-r--r--Source/CPack/cmCPackDragNDropGenerator.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/CPack/cmCPackDragNDropGenerator.h b/Source/CPack/cmCPackDragNDropGenerator.h
index b5e5ffe..604cdf5 100644
--- a/Source/CPack/cmCPackDragNDropGenerator.h
+++ b/Source/CPack/cmCPackDragNDropGenerator.h
@@ -50,11 +50,13 @@ private:
std::string slaDirectory;
bool singleLicense;
- void WriteLicense(cmGeneratedFileStream& outputStream, int licenseNumber,
- std::string licenseLanguage, std::string licenseFile = "");
- void BreakLongLine(const std::string& line,
- std::vector<std::string>& lines);
- void EscapeQuotes(std::string& line);
+ bool WriteLicense(cmGeneratedFileStream& outputStream, int licenseNumber,
+ std::string licenseLanguage, std::string licenseFile,
+ std::string *error);
+ bool BreakLongLine(const std::string& line,
+ std::vector<std::string>& lines,
+ std::string *error);
+ void EscapeQuotesAndBackslashes(std::string& line);
};
#endif