См. документацию.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef _RELEASEFILE_H
00009 #define _RELEASEFILE_H
00010
00011 #include "../XML/TagIQ.h"
00012 #define ReleaseFile_xmlns "release-file"
00013 #define ReleaseFile_xmlnsDir "release-file#dir"
00014
00015
00016 #define ReleaseFile_xmlnsResult "open-file#result"
00017 #include <fuse.h>
00018 #include <iostream>
00019 #include <string.h>
00020 #include "FileInfoSubtag.h"
00021
00022 class ReleaseFile : public TagIQ {
00023 public:
00024 unsigned int getResult();
00025 void setResult(unsigned int res);
00026 void setFile(string dir, const struct fuse_file_info &fi);
00027 void getFile(string &dir, struct fuse_file_info& fi);
00028 ReleaseFile(Node* parent=NULL,string from="", string to="", IQType type=TagIQ::Get, string id="");
00029 ReleaseFile(const Node &basedNode);
00030 virtual ~ReleaseFile();
00031 private:
00032
00033 };
00034
00035 #endif
00036