48 lines
614 B
C
48 lines
614 B
C
|
/*
|
||
|
* This file is a part of Winix
|
||
|
* and is not publicly distributed
|
||
|
*
|
||
|
* Copyright (c) 2010, Tomasz Sowa
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef headerfile_winix_plugins_thread_reply
|
||
|
#define headerfile_winix_plugins_thread_reply
|
||
|
|
||
|
#include "functions/functionbase.h"
|
||
|
#include "tdb.h"
|
||
|
#include "threadinfo.h"
|
||
|
|
||
|
|
||
|
|
||
|
namespace Thread
|
||
|
{
|
||
|
|
||
|
|
||
|
class Reply : public FunctionBase
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Reply();
|
||
|
bool HasAccess();
|
||
|
void MakePost();
|
||
|
|
||
|
void SetTDb(TDb * ptdb);
|
||
|
void SetThreadInfo(ThreadInfo * pthread_info);
|
||
|
|
||
|
|
||
|
private:
|
||
|
|
||
|
TDb * tdb;
|
||
|
ThreadInfo * thread_info;
|
||
|
Item answer;
|
||
|
Thread thread;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
} // namespace
|
||
|
|
||
|
#endif
|