11 #ifndef HUGGLEFEEDPROVIDERIRC_H
12 #define HUGGLEFEEDPROVIDERIRC_H
19 #include "hugglefeed.hpp"
21 #include "exception.hpp"
22 #include "configuration.hpp"
23 #include "wikiedit.hpp"
27 class HuggleFeedProviderIRC;
57 void ParseEdit(QString line);
61 bool IsPaused() {
return Paused; }
68 QList<WikiEdit*> Buffer;
70 QTcpSocket *TcpSocket;
75 #endif // HUGGLEFEEDPROVIDERIRC_H
bool IsWorking()
Return true if this feed is operational or not.
bool IsStopped()
Returns true in case that a provider is stopped and can be safely deleted.
void Stop()
Stop the feed engine.
bool Start()
Start the feed engine.
Thread which process the IRC feed.
Feed provider stub class every provider must be derived from this one.
bool Restart()
Restart the feed engine.
bool ContainsEdit()
Check if feed is containing some edits in buffer.
WikiEdit * RetrieveEdit()
Return a last edit from cache or NULL.
void Pause()
This is useful to stop parsing edits from irc and like in case that queue is full.
Provider that uses a wikimedia irc recent changes feed to retrieve information about edits...
void Resume()
Resume edit parsing.