Add LinuxSystemDriver and WaylandSystemDriver classes

This commit is contained in:
2025-03-28 14:57:38 +10:00
parent f727261a84
commit 211eb9a1d6
10 changed files with 97 additions and 16 deletions

View File

@@ -0,0 +1,19 @@
/**
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "drivers/linux/system_driver.h"
#include <nova/core/debug.h>
using namespace Nova;
LinuxSystemDriver::LinuxSystemDriver() {
NOVA_AUTO_TRACE();
}
LinuxSystemDriver::~LinuxSystemDriver() {
NOVA_AUTO_TRACE();
}

View File

@@ -0,0 +1,17 @@
/**
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include <nova/platform/system_driver.h>
namespace Nova {
class LinuxSystemDriver : public SystemDriver {
public:
LinuxSystemDriver();
~LinuxSystemDriver() override;
};
} // namespace Nova

View File

@@ -0,0 +1,19 @@
/**
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "drivers/linux/wayland/system_driver.h"
#include <nova/core/debug.h>
using namespace Nova;
WaylandSystemDriver::WaylandSystemDriver() {
NOVA_AUTO_TRACE();
}
WaylandSystemDriver::~WaylandSystemDriver() {
NOVA_AUTO_TRACE();
}

View File

@@ -0,0 +1,17 @@
/**
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include "drivers/linux/system_driver.h"
namespace Nova {
class WaylandSystemDriver final : public LinuxSystemDriver {
public:
WaylandSystemDriver();
~WaylandSystemDriver() override;
};
} // Nova

View File

@@ -0,0 +1,19 @@
/**
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "drivers/linux/x11/system_driver.h"
#include <nova/core/debug.h>
using namespace Nova;
X11SystemDriver::X11SystemDriver() {
NOVA_AUTO_TRACE();
}
X11SystemDriver::~X11SystemDriver() {
NOVA_AUTO_TRACE();
}

View File

@@ -0,0 +1,17 @@
/**
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#pragma once
#include "drivers/linux/system_driver.h"
namespace Nova {
class X11SystemDriver final : public LinuxSystemDriver {
public:
X11SystemDriver();
~X11SystemDriver() override;
};
} // namespace Nova