Merging in some Smalltalk changes from Patrick Collison
Reviewed By: mcslee
Test Plan: Rebuild Thrift compiler
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665361 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/parse/t_program.h b/compiler/cpp/src/parse/t_program.h
index 224c9d5..ddc121c 100644
--- a/compiler/cpp/src/parse/t_program.h
+++ b/compiler/cpp/src/parse/t_program.h
@@ -192,6 +192,14 @@
return cocoa_prefix_;
}
+ void set_smalltalk_category(std::string smalltalk_category) {
+ smalltalk_category_ = smalltalk_category;
+ }
+
+ const std::string& get_smalltalk_category() const {
+ return smalltalk_category_;
+ }
+
private:
// File path
@@ -247,6 +255,8 @@
// Cocoa/Objective-C naming prefix
std::string cocoa_prefix_;
+ // Smalltalk category
+ std::string smalltalk_category_;
};