Re: [Cppcms-users] Plugins and templates
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-08-20 06:51:59
|
> > Additionally, it would be nice if cppcms_tmpl_cc could be modified to > generate a header file alongside the cpp, so that I can easily include > it into my plugin and use all classes that have been created by > cppcms_tmpl_cc. > I thought about it once, but it requires quite complex changes in cppcms_tmpl_cc that I'm not sure what the benefit you get from it. The biggest problem is automatic view registration - all views are register them selfs to cppcms in share object loading. For example how would you register a view's templates derived from other? Also note, there is almost no problems renaming .cpp file to .h with exception of automatic registration. So I don't really it comes in near future. Artyom |