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-23 15:15:30 +01:00
|
|
|
#ifndef headerfile_winix_functions_mkdir
|
|
|
|
#define headerfile_winix_functions_mkdir
|
2010-08-10 18:12:50 +02:00
|
|
|
|
|
|
|
#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();
|
2010-08-10 22:43:38 +02:00
|
|
|
void PostFunMkdir(bool add_to_dir_tab, int privileges);
|
2010-08-10 18:12:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|