41 lines
520 B
C
41 lines
520 B
C
|
/*
|
||
|
* This file is a part of Winix
|
||
|
* and is not publicly distributed
|
||
|
*
|
||
|
* Copyright (c) 2010, Tomasz Sowa
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef headerfilecmslucontentcreateticket
|
||
|
#define headerfilecmslucontentcreateticket
|
||
|
|
||
|
#include "functionbase.h"
|
||
|
|
||
|
|
||
|
|
||
|
namespace Fun
|
||
|
{
|
||
|
|
||
|
|
||
|
class CreateTicket : public FunctionBase
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
CreateTicket();
|
||
|
bool HasAccess();
|
||
|
void MakePost();
|
||
|
|
||
|
private:
|
||
|
|
||
|
bool FunCreateTicketCheckAbuse();
|
||
|
void AddTicket();
|
||
|
void PostFunCreateTicketLogAndRedirect();
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
} // namespace
|
||
|
|
||
|
#endif
|