Add System, SystemDriver, Win32SystemDriver and X11SystemDriver classes
This commit is contained in:
19
engine/include/nova/platform/system.h
Normal file
19
engine/include/nova/platform/system.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <nova/api.h>
|
||||
#include <nova/platform/system_driver.h>
|
||||
|
||||
namespace Nova {
|
||||
class NOVA_API System {
|
||||
public:
|
||||
static void init();
|
||||
static void shutdown();
|
||||
static SystemDriver* get_driver();
|
||||
};
|
||||
} // namespace Nova
|
||||
16
engine/include/nova/platform/system_driver.h
Normal file
16
engine/include/nova/platform/system_driver.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Copyright (c) 2025, Jayden Grubb <contact@jaydengrubb.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <nova/api.h>
|
||||
|
||||
namespace Nova {
|
||||
class NOVA_API SystemDriver {
|
||||
public:
|
||||
virtual ~SystemDriver() = default;
|
||||
};
|
||||
} // namespace Nova
|
||||
Reference in New Issue
Block a user