2010-08-10 18:12:50 +02:00
|
|
|
/*
|
|
|
|
* This file is a part of Winix
|
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
|
|
|
* Copyright (c) 2010, Tomasz Sowa
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2011-01-05 22:24:11 +01:00
|
|
|
#ifndef headerfile_winix_plugins_thread_createthread
|
|
|
|
#define headerfile_winix_plugins_thread_createthread
|
2010-08-10 18:12:50 +02:00
|
|
|
|
2011-01-05 22:24:11 +01:00
|
|
|
#include "functions/functionbase.h"
|
2010-08-10 18:12:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-01-05 22:24:11 +01:00
|
|
|
namespace Thread
|
2010-08-10 18:12:50 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class CreateThread : public FunctionBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
CreateThread();
|
2010-08-18 00:32:47 +02:00
|
|
|
bool HasAccess(bool check_root);
|
2010-08-10 18:12:50 +02:00
|
|
|
bool HasAccess();
|
|
|
|
void MakePost();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
2010-08-10 22:43:38 +02:00
|
|
|
Thread thread;
|
|
|
|
|
2010-08-10 18:12:50 +02:00
|
|
|
bool FunCreateThreadCheckAbuse();
|
2010-08-10 22:43:38 +02:00
|
|
|
void ReadThread();
|
2010-08-10 18:12:50 +02:00
|
|
|
void AddThread();
|
|
|
|
void PostFunCreateThreadLogAndRedirect();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|