diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-07-15 17:36:11 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-07-15 17:36:11 +0000 |
commit | 08d0be306e431b3296f4e33b49beef96aafd6f84 (patch) | |
tree | 92f10ec363a6692c4224d960255038fa2ba4cc33 /cpp/src/slice2cppe/Gen.h | |
parent | removing Ice-E code (diff) | |
download | ice-08d0be306e431b3296f4e33b49beef96aafd6f84.tar.bz2 ice-08d0be306e431b3296f4e33b49beef96aafd6f84.tar.xz ice-08d0be306e431b3296f4e33b49beef96aafd6f84.zip |
moving code from CPlusPlusUtil; show Ice-E version for -v
Diffstat (limited to 'cpp/src/slice2cppe/Gen.h')
-rw-r--r-- | cpp/src/slice2cppe/Gen.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cpp/src/slice2cppe/Gen.h b/cpp/src/slice2cppe/Gen.h index e3ecaeb5ddf..d8b6ab74aab 100644 --- a/cpp/src/slice2cppe/Gen.h +++ b/cpp/src/slice2cppe/Gen.h @@ -13,6 +13,12 @@ #include <Slice/Parser.h> #include <IceUtil/OutputUtil.h> +// +// The Ice-E version. +// +#define ICEE_STRING_VERSION "1.0.0" // "A.B.C", with A=major, B=minor, C=patch +#define ICEE_INT_VERSION 10000 // AABBCC, with AA=major, BB=minor, CC=patch + namespace Slice { @@ -254,8 +260,6 @@ private: void writeReturn(::IceUtil::Output&, const TypePtr&); }; -private: - class MetaDataVisitor : public ParserVisitor { public: @@ -285,6 +289,9 @@ private: }; static void validateMetaData(const UnitPtr&); + static void printHeader(IceUtil::Output&); + static void printVersionCheck(IceUtil::Output&); + static void printDllExportStuff(IceUtil::Output&, const std::string&); }; } |