/** * \class layout_builder::QueryHandler */ QueryHandler::QueryHandler(ds::ui::SpriteEngine& se, AllData &ad) : mEventClient(se.getNotifier(), [this](const ds::Event* e){if (e) onAppEvent(*e); }) , mAllData(ad) , mStoryQuery(se, [](){return new StoryQuery(); }) { // Initialize data mStoryQuery.setReplyHandler([this](StoryQuery& q){this->onStoryQuery(q); }); }
/** * \class ds::DirectoryWatcher */ DirectoryWatcher::DirectoryWatcher(ds::ui::SpriteEngine& se) : ds::AutoUpdate(se) , mStop(0) , mWaiter(mStop, se.getNotifier()) { }