|Re: [EGL] How to add a content type [message #760133 is a reply to message #759946]
||Thu, 01 December 2011 12:51
| Louis Rose
Registered: July 2009
Location: York, United Kingdom
Actually, I would suggest that you use the Java content type for C++ programs. Currently, EGL only uses the content type to determine what style of comments to use in the generated code. As Java and C++ use the same style of comments (i.e. // or /* */), you can safely use the Java content type.
For reference, you can add further content types by overriding the getContentTypeRepository() method in EglContext, and providing your own implementation of the ContentTypeRepository class. This is a little bit more complicated than it needs to be, so if you're really interested in adding more content types, let me know and I'll simplify the process.
Hope this helps.
Powered by FUDForum
. Page generated in 0.01941 seconds