core: setup x11 shell
This commit is contained in:
parent
0a04a3c7c7
commit
f7141c01e2
1 changed files with 25 additions and 0 deletions
25
src/core/linux/X11.zig
Normal file
25
src/core/linux/X11.zig
Normal 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;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue