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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user