diff options
author | Jose <jose@zeroc.com> | 2009-10-03 01:07:56 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-10-03 01:07:56 +0200 |
commit | a00430c3a79067e9bdd5a62620fcfbc9da536601 (patch) | |
tree | dbda5220894c256cf73725c6f17d618b8289152d /cpp/src/Slice/JavaUtil.cpp | |
parent | Fixes related to 3772: (diff) | |
download | ice-a00430c3a79067e9bdd5a62620fcfbc9da536601.tar.bz2 ice-a00430c3a79067e9bdd5a62620fcfbc9da536601.tar.xz ice-a00430c3a79067e9bdd5a62620fcfbc9da536601.zip |
4190 - Add header to generated files to indicate they are autogenerated.
commit 910bdd9d5cd71ac2cd357dbe5ee82b7ae81fca89
Merge: 429a086 1873f9f
Author: Jose <jose@zeroc.com>
Date: Sat Oct 3 01:00:34 2009 +0200
Diffstat (limited to 'cpp/src/Slice/JavaUtil.cpp')
-rw-r--r-- | cpp/src/Slice/JavaUtil.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp index 1c0586e3344..9c764ffe322 100644 --- a/cpp/src/Slice/JavaUtil.cpp +++ b/cpp/src/Slice/JavaUtil.cpp @@ -187,7 +187,7 @@ Slice::JavaGenerator::~JavaGenerator() } void -Slice::JavaGenerator::open(const string& absolute) +Slice::JavaGenerator::open(const string& absolute, const string& file) { assert(_out == 0); @@ -195,6 +195,7 @@ Slice::JavaGenerator::open(const string& absolute) try { out->openClass(absolute, _dir); + printGeneratedHeader(*out, file); } catch(const FileException&) { |