#ifndef NULLSOFT_WASABI_TEXTFEEDENUM_H #define NULLSOFT_WASABI_TEXTFEEDENUM_H #include #include // see helper class TextFeed #include template class TextFeedCreatorSingle : public waServiceFactoryTSingle { public: svc_textFeed *getFeed() { return getSingleService(); } }; #include class TextFeedEnum : public SvcEnumT { public: TextFeedEnum(const wchar_t *_feedid) : feedid(_feedid) {} protected: virtual int testService(svc_textFeed *svc) { return (svc->hasFeed(feedid)); } private: StringW feedid; }; #endif