См. документацию.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef _CHMOD_H
00009 #define _CHMOD_H
00010
00011 #include <string>
00012
00013 #include "../XML/TagIQ.h"
00014
00015
00016
00017
00018
00019
00020 static const char CHMOD_FILE_TAG[]="chmod";
00021 static const char CHMOD_FILE_XMLNS[]="chmod";
00022 static const char CHMOD_FILE_XMLNS_PATH[]="chmod#path";
00023 static const char CHMOD_FILE_XMLNS_MODE[]="chmod#mode";
00024 static const char CHMOD_FILE_XMLNS_RESULT[]="chmod#result";
00025
00026 extern const char CHMOD_FILE_TAG[];
00027 extern const char CHMOD_FILE_XMLNS[];
00028 extern const char CHMOD_FILE_XMLNS_PATH[];
00029 extern const char CHMOD_FILE_XMLNS_MODE[];
00030 extern const char CHMOD_FILE_XMLNS_RESULT[];
00031
00032 #include <fuse.h>
00033 #include <iostream>
00034 #include <string.h>
00035 #include "BaseTwoData.h"
00036
00037 using namespace std;
00038
00039 #undef VALSA
00040 #define VALSA <CHMOD_FILE_TAG,CHMOD_FILE_XMLNS,CHMOD_FILE_XMLNS_PATH,CHMOD_FILE_XMLNS_RESULT,CHMOD_FILE_XMLNS_MODE>
00041 class Chmod : public BaseTwoData VALSA {
00042 public:
00043 Chmod(Node* parent=NULL,string from="", string to="",
00044 IQType type=TagIQ::Get, string id=""):BaseTwoData VALSA(parent,from,to,type,id){};
00045 Chmod(const Node &basedNode):BaseTwoData VALSA(basedNode){};
00046 };
00047
00048 #endif
00049