BARANTMail/IMAPCommand.h

22 lines
502 B
C++

#ifndef __IMAPCommand_h__
# define __IMAPCommand_h__
# include "Command.h"
# include "IMAPSession.h"
namespace mail {
class IMAPServer;
class IMAPCommand : public core::Command {
public:
virtual int processCommand(std::string request, core::TCPSession *session, std::stringstream &data) override;
virtual int processCommand(coreutils::PString request, IMAPSession &session, IMAPServer &server, std::stringstream &data) { return 0; }
};
}
#endif