2012-03-09 03:36:25 +01:00
|
|
|
/*
|
|
|
|
* This file is a part of Winix
|
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
2014-02-12 17:30:49 +01:00
|
|
|
* Copyright (c) 2012-2014, Tomasz Sowa
|
2012-03-09 03:36:25 +01:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef headerfile_winix_functions_rmuser
|
|
|
|
#define headerfile_winix_functions_rmuser
|
|
|
|
|
|
|
|
#include "functionbase.h"
|
|
|
|
|
2014-02-12 17:30:49 +01:00
|
|
|
namespace Winix
|
|
|
|
{
|
2012-03-09 03:36:25 +01:00
|
|
|
|
|
|
|
namespace Fun
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class RmUser : public FunctionBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
RmUser();
|
|
|
|
|
|
|
|
bool HasAccess();
|
|
|
|
void MakeGet();
|
|
|
|
void MakePost();
|
|
|
|
|
|
|
|
bool RemoveUser(long user_id);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
std::wstring name;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
2014-02-12 17:30:49 +01:00
|
|
|
} // namespace Winix
|
|
|
|
|
2012-03-09 03:36:25 +01:00
|
|
|
#endif
|