#define BEGIN_LAYERS {
//! DEPRECATED - use #INCLUDE_LAYER(class)
-#define LAYER(class) synfig::Layer::register_in_book(synfig::Layer::BookEntry(class::create,class::name__,dgettext("synfig",class::local_name__),dgettext("synfig",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,CATEGORY_DO_NOT_USE,class::cvs_id__,class::version__));
+#define LAYER(class) \
+ synfig::Layer::register_in_book( \
+ synfig::Layer::BookEntry(class::create, \
+ class::name__, \
+ dgettext("synfig", class::local_name__), \
+ dgettext("synfig", class::category__), \
+ class::cvs_id__, \
+ class::version__));
+
+#define LAYER_ALIAS(class,alias) \
+ synfig::Layer::register_in_book( \
+ synfig::Layer::BookEntry(class::create, \
+ alias, \
+ alias, \
+ CATEGORY_DO_NOT_USE, \
+ class::cvs_id__, \
+ class::version__));
//! Marks the end of the layers in the module's inventory
#define END_LAYERS }