00001 /*************************************************************************** 00002 mfiledfs.h - description 00003 ------------------- 00004 begin : Tue Dec 30 2003 00005 copyright : (C) 2003 by Mickael Faivre-Macon 00006 email : mickael@easyplay.com.tw 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef MFILEDFS_H 00019 #define MFILEDFS_H 00020 00021 #include <MDistributedFileSystem.h> 00022 00023 namespace mdfs { 00024 00030 class MFileDFS : public MDistributedFS { 00031 public: 00032 MFileDFS(); 00033 ~MFileDFS(); 00034 00035 protected: 00036 00037 virtual void BuildFileQueryResponse(const std::string& path, int type, int rcount, std::string& rv); 00038 virtual bool Login(const std::string& login, const std::string& pwd, MUser& rv); 00039 00040 }; 00041 00042 } // namespace 00043 00044 #endif