diff options
author | Jose <jose@zeroc.com> | 2009-01-27 19:28:59 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-01-27 19:28:59 +0100 |
commit | 55f6e6863b8f17312e8ff58d05d6d035c822187b (patch) | |
tree | 787029a35e03a48456d1ed3cb8cc5965d0657319 /cpp/include/Slice/Preprocessor.h | |
parent | Added missing libs (diff) | |
download | ice-55f6e6863b8f17312e8ff58d05d6d035c822187b.tar.bz2 ice-55f6e6863b8f17312e8ff58d05d6d035c822187b.tar.xz ice-55f6e6863b8f17312e8ff58d05d6d035c822187b.zip |
Squashed commit of the following:
commit 9aa67a8862e402cb52276282b26a40422fae4adb
Author: Jose Gutierrez <jose@zeroc.com>
Date: Tue Jan 27 19:25:22 2009 +0100
Fixed 3374 --header-ext not work as intended.
Diffstat (limited to 'cpp/include/Slice/Preprocessor.h')
-rw-r--r-- | cpp/include/Slice/Preprocessor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/include/Slice/Preprocessor.h b/cpp/include/Slice/Preprocessor.h index 98a018fbfbe..54535e28812 100644 --- a/cpp/include/Slice/Preprocessor.h +++ b/cpp/include/Slice/Preprocessor.h @@ -32,7 +32,7 @@ class SLICE_API Preprocessor { public: - Preprocessor(const std::string&, const std::string&, const std::vector<std::string>&); + Preprocessor(const std::string&, const std::string&, const std::vector<std::string>&, const std::string& = "cpp"); ~Preprocessor(); FILE* preprocess(bool); @@ -54,6 +54,7 @@ private: const std::string _path; const std::string _fileName; const std::vector<std::string> _args; + const std::string _cppSourceExt; #ifdef _WIN32 std::wstring _cppFile; #else |