the first part of reimplementing has been done
now we have app object and singletons are only: log logn plugin and app git-svn-id: svn://ttmath.org/publicrep/winix/trunk@628 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -16,12 +16,20 @@
|
||||
#include <string>
|
||||
#include "mount.h"
|
||||
#include "error.h"
|
||||
#include "dirs.h"
|
||||
#include "db.h"
|
||||
#include "request.h"
|
||||
|
||||
|
||||
|
||||
class Mounts
|
||||
{
|
||||
public:
|
||||
|
||||
void SetDirs(Dirs * pdirs);
|
||||
void SetDb(Db * pdb);
|
||||
void SetRequest(Request * prequest);
|
||||
|
||||
// dir_id, mount_point
|
||||
typedef std::map<long, Mount> MountTab;
|
||||
|
||||
@@ -41,6 +49,10 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
Dirs * dirs;
|
||||
Db * db;
|
||||
Request * request;
|
||||
|
||||
MountTab mount_tab;
|
||||
|
||||
void MountCmsForRoot();
|
||||
|
Reference in New Issue
Block a user