14 #include "exception.hpp"
18 class HuggleQueueFilter;
34 virtual bool Start() {
return false; }
41 virtual bool IsPaused() {
return false; }
53 #endif // HUGGLEFEED_H
virtual bool ContainsEdit()
Check if feed is containing some edits in buffer.
Filter that can be applied to edit queue.
Feed provider stub class every provider must be derived from this one.
virtual bool IsStopped()
Returns true in case that a provider is stopped and can be safely deleted.
virtual bool Start()
Start the feed engine.
virtual void Stop()
Stop the feed engine.
virtual void Resume()
Resume edit parsing.
virtual WikiEdit * RetrieveEdit()
Return a last edit from cache or NULL.
virtual bool IsWorking()
Return true if this feed is operational or not.
virtual bool Restart()
Restart the feed engine.
virtual void Pause()
This is useful to stop parsing edits from irc and like in case that queue is full.