WIP: remove the old database abstraction layer

remove such classes:
- DbBase
- DbConn
- DbTextStream
- Db

while here:
- remove: TextStream, SLog, TexTextStream
This commit is contained in:
2024-06-22 18:03:54 +02:00
parent 5d457f3d4b
commit 6aa100f12c
138 changed files with 6658 additions and 12402 deletions
+2 -7
View File
@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2009-2022, Tomasz Sowa
* Copyright (c) 2009-2024, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -41,9 +41,6 @@
#include <string>
#include <vector>
#include "mount.h"
#include "error.h"
#include "db/db.h"
#include "request.h"
#include "mountparser.h"
#include "winixmodeldeprecated.h"
@@ -51,7 +48,7 @@
namespace Winix
{
class Dirs;
class Request;
class Mounts : public WinixModelDeprecated
@@ -113,7 +110,6 @@ public:
int MountParLang() { return mount_par_lang; }
void SetDirs(Dirs * pdirs);
void SetDb(Db * pdb);
// dir_id, mount_point
typedef std::map<long, Mount> MountTab;
@@ -142,7 +138,6 @@ public:
private:
Db * db;
Dirs * dirs;
bool skip_static;