--- /dev/null
+#ifndef GDE_FILE_SERVICE_HPP
+#define GDE_FILE_SERVICE_HPP
+
+#include "File.hpp"
+#include "GDESession.hpp"
+
+#include <string>
+
+namespace gde {
+
+ class FileService {
+ friend class GDESession;
+
+ public:
+ const File createFile(const std::string& name);
+ bool deleteFile(const File&);
+ const File updateFile(const File&);
+ const File readFile(int fileId);
+ const File findByName(const std::string& name);
+
+ private:
+ FileService(const GDESession& session) : _session(session) {}
+ ~FileService() {}
+ FileService(const FileService&); // non copyable
+ FileService& operator=(const FileService&); // non copyable
+
+ private:
+ static std::string _servletName;
+ const GDESession& _session;
+
+ };
+
+};
+
+#endif