summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackPackageMakerGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-22 00:05:55 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:37 (GMT)
commitb3bf31a5488a19ea3c357e346b882a2ca84c63b6 (patch)
tree42cb81b5ec3c7888ef4f75e68f767f3992c4ec4f /Source/CPack/cmCPackPackageMakerGenerator.h
parent5af95c396dc780c04444f549b957c2cba7c75309 (diff)
downloadCMake-b3bf31a5488a19ea3c357e346b882a2ca84c63b6.zip
CMake-b3bf31a5488a19ea3c357e346b882a2ca84c63b6.tar.gz
CMake-b3bf31a5488a19ea3c357e346b882a2ca84c63b6.tar.bz2
stringapi: Miscellaneous char* parameters
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.h')
-rw-r--r--Source/CPack/cmCPackPackageMakerGenerator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.h b/Source/CPack/cmCPackPackageMakerGenerator.h
index bebb633..e350a60 100644
--- a/Source/CPack/cmCPackPackageMakerGenerator.h
+++ b/Source/CPack/cmCPackPackageMakerGenerator.h
@@ -38,9 +38,9 @@ public:
virtual bool SupportsComponentInstallation() const;
protected:
- int CopyInstallScript(const char* resdir,
- const char* script,
- const char* name);
+ int CopyInstallScript(const std::string& resdir,
+ const std::string& script,
+ const std::string& name);
virtual int InitializeInternal();
int PackageFiles();
virtual const char* GetOutputExtension() { return ".dmg"; }
@@ -53,7 +53,7 @@ protected:
// which will be configured via ConfigureFile.
bool CopyCreateResourceFile(const std::string& name,
const std::string& dirName);
- bool CopyResourcePlistFile(const char* name, const char* outName = 0);
+ bool CopyResourcePlistFile(const std::string& name, const char* outName = 0);
// Run PackageMaker with the given command line, which will (if
// successful) produce the given package file. Returns true if