'tickets' can use 'threads' now

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@706 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-01-20 18:37:51 +00:00
parent 3fad25b8c8
commit ab84a5169e
61 changed files with 1928 additions and 980 deletions

View File

@@ -11,7 +11,9 @@
#define headerfile_winix_plugins_thread_funthread
#include "functions/functionbase.h"
#include "core/thread.h"
#include "tdb.h"
#include "threadinfo.h"
namespace Thread
@@ -25,17 +27,16 @@ public:
FunThread();
bool HasAccess();
void MakeGet();
void PrepareThread(long file_id);
// current thread (if exists)
bool is_thread;
Thread thread;
std::vector<Thread> thread_tab;
void SetTDb(TDb * ptdb);
void SetThreadInfo(ThreadInfo * pthread_info);
private:
static bool FunThreadSort(const Thread & t1, const Thread & t2);
void CreateSortIndexByDate();
void Clear();
TDb * tdb;
ThreadInfo * thread_info;
std::vector<long> id_tab;
};