21 #ifndef G_SMTP_PROCESSOR_H
22 #define G_SMTP_PROCESSOR_H
57 virtual void start(
const std::string & path ) = 0 ;
70 virtual void abort() = 0 ;
73 virtual std::string
text()
const = 0 ;
83 virtual bool repoll()
const = 0 ;
SMTP and message-store classes.
virtual bool repoll() const =0
Returns true if the processor indicated that the message store should be repolled immediately...
virtual bool cancelled() const =0
Returns true if the processor indicated that further processesing of the message should be cancelled...
virtual G::Signal1< bool > & doneSignal()=0
Returns a signal which is raised once start() has completed or failed.
An interface for processing message files.
virtual ~Processor()
Destructor.
virtual void abort()=0
Aborts any incomplete processing.
virtual std::string text() const =0
Returns a non-empty reason string if the processor failed.
virtual void start(const std::string &path)=0
Starts the processor for the given message file.