summaryrefslogtreecommitdiff
path: root/mythfs/service/openDirectory.h
blob: 40215f59172670558a681ca783ea572b6886c011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef MYTHFS_OPENDIRECTORY_H
#define MYTHFS_OPENDIRECTORY_H

#include <directory.h>
#include "inodes/node.h"

namespace MythFS {
	class OpenDirectory : public ::NetFS::Directory {
		public:
			OpenDirectory(Node::PointerType);

			::NetFS::NameList readdir(const Ice::Current &) override;
			void close(const Ice::Current &) override;
		private:
			Node::PointerType directory;
	};
}

#endif