#ifndef INCLUDE_WAYLANDCLIENT_CAT_COMP_H_ #define INCLUDE_WAYLANDCLIENT_CAT_COMP_H_ #define WAYLAND #include #ifdef WAYLAND #include "vulkan.h" #include "wayland.h" typedef struct cat_Wl cat_Comp; #else #include "glfw.h" typedef struct cat_GLFW cat_Comp; #endif // !WAYLAND cat_Comp *cat_comp_init(const char *title, int width, int heigh, struct Vk **vk); void cat_comp_uninit(cat_Comp *state); void cat_comp_draw(cat_Comp *state); bool cat_comp_should_close(cat_Comp *state); #endif // INCLUDE_WAYLANDCLIENT_CAT_COMP_H_