Added a logger backend skeleton class.

This commit is contained in:
Relintai 2022-06-11 15:27:33 +02:00
parent 08efdb72ec
commit 9ceba2ce3b
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#include "logger_backend.h"
LoggerBackend::LoggerBackend() {
}
LoggerBackend::~LoggerBackend() {
}
void LoggerBackend::_bind_methods() {
//BIND_VMETHOD(MethodInfo(Variant::REAL, "_estimate_cost", PropertyInfo(Variant::INT, "from_id"), PropertyInfo(Variant::INT, "to_id")));
//ClassDB::bind_method(D_METHOD("_get_property_value_sdf3d", "uv3"), &LoggerBackend::_get_property_value_sdf3d);
}

20
core/log/logger_backend.h Normal file
View File

@ -0,0 +1,20 @@
#ifndef LOGGER_BACKEND_H
#define LOGGER_BACKEND_H
#include "core/ustring.h"
#include "core/variant.h"
#include "core/reference.h"
class LoggerBackend : public Reference {
GDCLASS(LoggerBackend, Reference);
public:
LoggerBackend();
~LoggerBackend();
protected:
static void _bind_methods();
};
#endif