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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef headerfilecmslucontentemacs
|
|
|
|
#define headerfilecmslucontentemacs
|
|
|
|
|
|
|
|
#include "functionbase.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Fun
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
class Emacs : public FunctionBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
Emacs();
|
|
|
|
bool HasAccess();
|
|
|
|
void MakePost();
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
bool HasAccess(const Item & item); // !! takie funkcje to nie powinny byc skladowe modelu?
|
|
|
|
bool PostEmacsCheckAbuse(bool adding);
|
|
|
|
void PostFunEmacsModifyMountPoint(bool adding);
|
|
|
|
|
2010-09-30 22:58:20 +02:00
|
|
|
std::string old_url;
|
2010-08-10 18:12:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif
|