- namespace filter {
- class FilterFactory {
-
-#if 0
- public:
- typedef yp2::filter::Base* (*CreateFilterCallback)();
- /// true if registration ok
- bool register_filter(std::string fi, CreateFilterCallback cfc);
- /// true if unregistration ok
- bool unregister_filter(std::string fi);
- /// factory create method
- yp2::filter::Base* create(std::string fi);
-
- private:
- typedef std::map<std::string, CreateFilterCallback> CallbackMap;
-
-#endif
-
- };
- }
-