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

View File

@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2008-2022, Tomasz Sowa
* Copyright (c) 2008-2024, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -51,7 +51,6 @@
#include "core/system.h"
#include "core/sessionmanager.h"
#include "html/htmlparser.h"
#include "db/db.h"
#include "core/winixrequest.h"
@@ -81,7 +80,6 @@ namespace TemplatesFunctions
extern pt::HTMLParser html_filter;
extern Ezc::Stack empty_stack;
extern Db * db;
extern Cur * cur; // will be removed when TemplateBase class will be implemented
extern Config * config; // will be removed when TemplateBase class will be implemented
extern System * system; // will be removed when TemplateBase class will be implemented
@@ -404,16 +402,6 @@ namespace TemplatesFunctions
void server_mode_is(Info & i);
/*
slog
*/
void slog_tab(Info & i);
void slog_tab_is_info(Info & i);
void slog_tab_is_warning(Info & i);
void slog_tab_is_error(Info & i);
void slog_tab_print(Info & i);
/*
stat
*/
@@ -581,7 +569,6 @@ public:
void SetConfig(Config * pconfig);
void SetCur(Cur * pcur);
void SetDb(Db * pdb);
void SetSystem(System * psystem);
void SetFunctions(Functions * pfunctions);
void SetSessionManager(SessionManager * psession_manager);