Moved FileSystem class into the new Dispatcher subnamespace, so we can drop

the "User" part of the way more often used UserFileSystem and the other
classes that had it accordingly for consistency.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20237 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-02-26 16:00:45 +00:00
parent 9d54b14368
commit 1546cbf149
4 changed files with 9 additions and 3 deletions
@@ -1,5 +1,7 @@
// FileSystem.cpp // FileSystem.cpp
#include "DispatcherFileSystem.h"
#include <Application.h> #include <Application.h>
#include <Autolock.h> #include <Autolock.h>
#include <Entry.h> #include <Entry.h>
@@ -9,7 +11,6 @@
#include "Debug.h" #include "Debug.h"
#include "DispatcherDefs.h" #include "DispatcherDefs.h"
#include "FileSystem.h"
#include "ServerDefs.h" #include "ServerDefs.h"
// constructor // constructor
@@ -11,6 +11,7 @@
#include "String.h" #include "String.h"
namespace UserlandFS { namespace UserlandFS {
namespace Dispatcher {
class FileSystem : public LazyInitializable, public Referencable { class FileSystem : public LazyInitializable, public Referencable {
public: public:
@@ -39,8 +40,9 @@ private:
mutable BLocker fTeamLock; mutable BLocker fTeamLock;
}; };
} // namespace Dispatcher
} // namespace UserlandFS } // namespace UserlandFS
using UserlandFS::FileSystem; using UserlandFS::Dispatcher::FileSystem;
#endif // USERLAND_FS_FILE_SYSTEM_H #endif // USERLAND_FS_FILE_SYSTEM_H
@@ -13,7 +13,7 @@
#include "Compatibility.h" #include "Compatibility.h"
#include "Debug.h" #include "Debug.h"
#include "DispatcherDefs.h" #include "DispatcherDefs.h"
#include "FileSystem.h" #include "DispatcherFileSystem.h"
#include "FSInfo.h" #include "FSInfo.h"
#include "RequestAllocator.h" #include "RequestAllocator.h"
#include "RequestPort.h" #include "RequestPort.h"
@@ -21,7 +21,10 @@ using UserlandFSUtil::String;
namespace UserlandFS { namespace UserlandFS {
namespace Dispatcher {
class FileSystem; class FileSystem;
}
using Dispatcher::FileSystem;
class UserlandFSDispatcher : public BApplication { class UserlandFSDispatcher : public BApplication {
public: public: