40 lines
562 B
C
40 lines
562 B
C
|
/*
|
||
|
* This file is a part of Winix
|
||
|
* and is not publicly distributed
|
||
|
*
|
||
|
* Copyright (c) 2010, Tomasz Sowa
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef headerfilecmslucontentmkdir
|
||
|
#define headerfilecmslucontentmkdir
|
||
|
|
||
|
#include "functionbase.h"
|
||
|
|
||
|
|
||
|
|
||
|
namespace Fun
|
||
|
{
|
||
|
|
||
|
|
||
|
class Mkdir : public FunctionBase
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Mkdir();
|
||
|
bool HasAccess();
|
||
|
void MakePost();
|
||
|
|
||
|
private:
|
||
|
|
||
|
bool HasAccess(const Item & item); // !! moze to powinien byc skladnik modelu?
|
||
|
bool FunMkdirCheckAccess();
|
||
|
void PostFunMkdir(bool add_to_dir_table, int privileges);
|
||
|
};
|
||
|
|
||
|
|
||
|
} // namespace
|
||
|
|
||
|
#endif
|