-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
- Loading branch information
Showing
3 changed files
with
105 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
const Linux = @import("../Linux.zig"); | ||
const Core = @import("../../Core.zig"); | ||
const InitOptions = Core.InitOptions; | ||
|
||
pub const Wayland = @This(); | ||
|
||
pub fn init( | ||
linux: *Linux, | ||
core: *Core.Mod, | ||
options: InitOptions, | ||
) !Wayland { | ||
_ = linux; | ||
_ = core; | ||
_ = options; | ||
// TODO(core): return errors.NotSupported if not supported | ||
return .{}; | ||
} | ||
|
||
pub fn deinit( | ||
w: *Wayland, | ||
linux: *Linux, | ||
) void { | ||
_ = w; | ||
_ = linux; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |