From: stephan b. <st...@s1...> - 2005-01-12 10:31:41
|
On Tuesday 11 January 2005 17:09, Christian Prochnow wrote: > Hi Stephan, Hi List, Hi, guys! i'm finally getting back online after spending the weekend hacking with Marc, and finally getting to my mails again. > NAMEDTYPEFACTORY_REGISTER_TYPE(Base, Bla); > NAMEDTYPEFACTORY_REGISTER_ALIAS(Base, "AliasedBla", Bla); That works fine, but breaks when you have complex template types with commas in the names. In my experience this type of approach is 100% okay for non-template types, however. > Thats it ! No more hand-coded plugin-stub code. > Couldn't get any easier! Until you want to register template types with commas in the names, then use pclasses/RegisterFactory.h (or hand-write a stub, if you like). > Damn.. i really love the new Plugin framework. :) Es freut mich das zu hoeren. It was designed for ease of client use. -- ----- st...@s1... http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts |