core: setup x11 shell

This commit is contained in:
Joshua Holmes 2024-09-10 16:19:37 -07:00 committed by Stephen Gutekanst
parent 0a04a3c7c7
commit f7141c01e2

25
src/core/linux/X11.zig Normal file
View file

@ -0,0 +1,25 @@
const Linux = @import("../Linux.zig");
const Core = @import("../../Core.zig");
const InitOptions = Core.InitOptions;
pub const X11 = @This();
pub fn init(
linux: *Linux,
core: *Core.Mod,
options: InitOptions,
) !X11 {
_ = linux;
_ = core;
_ = options;
// TODO(core): return errors.NotSupported if not supported
return .{};
}
pub fn deinit(
w: *X11,
linux: *Linux,
) void {
_ = w;
_ = linux;
}