X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fmodule.h;h=d142287ddc5ea3bd771223695930cbb048936e2a;hb=792ed706efeef84c5b82abf982078daad15f5d6c;hp=c1126eb99e702e2e6b6bbfc53e1bf62d14f03ed8;hpb=5e677d2c4e2cafa973db8bd44010fc7f9deb9fc1;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/module.h b/synfig-core/trunk/src/synfig/module.h index c1126eb..d142287 100644 --- a/synfig-core/trunk/src/synfig/module.h +++ b/synfig-core/trunk/src/synfig/module.h @@ -88,9 +88,9 @@ //! Marks the start of the layers in the module's inventory #define BEGIN_LAYERS { -//! DEPRECATED - use @INCLUDE_LAYER() -//#define LAYER(x) synfig::Layer::book()[synfig::String(x::name__)]=x::create; +//! DEPRECATED - use #INCLUDE_LAYER(class) #define LAYER(class) synfig::Layer::register_in_book(synfig::Layer::BookEntry(class::create,class::name__,class::local_name__,class::category__,class::cvs_id__,class::version__)); +//#define LAYER(x) synfig::Layer::book()[synfig::String(x::name__)]=x::create; #define LAYER_ALIAS(class,alias) synfig::Layer::register_in_book(synfig::Layer::BookEntry(class::create,alias,alias,_("Do Not Use"),class::cvs_id__,class::version__)); //! Marks the end of the layers in the module's inventory