34 lines
815 B
C++
34 lines
815 B
C++
#ifndef _NNTP_RECOVERLOG_HPP_
|
|
#define _NNTP_RECOVERLOG_HPP_
|
|
#ifndef _COMMON_WINDOWS_HPP_
|
|
#include <common/windows.hpp>
|
|
#endif
|
|
#ifndef _COMMON_BLOCK_HPP_
|
|
#include <common/block.hpp>
|
|
#endif
|
|
#ifndef _COMMON_STRING_HPP_
|
|
#include <common/string.hpp>
|
|
#endif
|
|
#ifndef _NNTP_MESSAGEID_HPP_
|
|
#include <nntp/msgid.hpp>
|
|
#endif
|
|
|
|
class RecoverLog
|
|
{
|
|
public:
|
|
RecoverLog(void);
|
|
virtual ~RecoverLog();
|
|
BOOL haveLog(const String &strNewGroup);
|
|
DWORD getEntries(const String &strNewsGroup,Block<MsgID> &msgIDs);
|
|
BOOL setEntries(const String &strNewsGroup,Block<MsgID> &msgIDs);
|
|
void removeLog(const String &strNewsGroup);
|
|
private:
|
|
RecoverLog(const RecoverLog &someRecoverLog);
|
|
RecoverLog &operator=(const RecoverLog &someRecoverLog);
|
|
const String &strRecoverLogPostFix(void)const;
|
|
|
|
String mStrRecoverLogPostFix;
|
|
};
|
|
#endif
|
|
|