should find the first item (can be more than one item with the same 'param') fixed: added sorting tickets params in ReadTicketParams() (in plugins/ticket/ticketinfo.cpp) fixed: plugin should have its own 'PluginInfo info' struct a plugin's function can call another plugin's functions added: removing tickets files/images added: removing threads changed: rm function will call WINIX_FILE_REMOVED now when deleting directories git-svn-id: svn://ttmath.org/publicrep/winix/trunk@710 e52654a7-88a9-db11-a3e9-0013d4bc506e
49 lines
633 B
C++
Executable File
49 lines
633 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"
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
} // namespace
|
|
|
|
#endif
|