52 lines
720 B
C++
Executable File
52 lines
720 B
C++
Executable File
/*
|
|
* 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"
|
|
#include "notify/notify.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;
|
|
Item * files_dir;
|
|
NotifyMsg notify_msg;
|
|
|
|
void SendNotify(const Item & item);
|
|
};
|
|
|
|
|
|
} // namespace
|
|
|
|
#endif
|