Make the Cocoa generator dynamic.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:55 +0000 (21:40 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:55 +0000 (21:40 +0000)
commitd01c64dec53373a886fd1fd8de8e5c065db731c9
tree44b0562b69c05aefe6756834c2a31b855bfb12e9
parentbe9757568f50ed79f2d9abf2a1acf97c9582eb5d
Make the Cocoa generator dynamic.

- Modify the Cocoa generator constructor to fit the new generic interface.
- Register the Cocoa genrator with the central registry.
- Deprecate the old way of invoking the Cocoa generator.
- main.cc no longer includes t_cocoa_generator.h.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665603 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cocoa_generator.cc
compiler/cpp/src/generate/t_cocoa_generator.h
compiler/cpp/src/main.cc