[Clam-devel] [PATCH] switch to new registrator for spacialization

Andreas Calvo flipy.bcn at gmail.com
Sun Aug 12 04:25:13 PDT 2007


This patch improves the way the plugins are registered against the factory.
Now you can declare an array with all your pair of data as follows:
    static const char* metadata[] = {
        "key", "MyConcreteType",
        "category", "CLAM",
        "description", "MyConcreteType",
        0
    };
    static FactoryRegistrator<ProcessingFactory, MyConcreteType> reg =
metadata;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070812/ccfc36f6/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spacializationMetadata.patch
Type: text/x-patch
Size: 16293 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20070812/ccfc36f6/attachment-0003.bin>


More information about the clam-devel mailing list