// Copyright (C) 2013 Scott Moreau // Licensed under GPLv2 // Refer to the license.txt file included. #pragma once #include #include #include #include #define MOD_SHIFT_MASK 0x01 #define MOD_ALT_MASK 0x02 #define MOD_CONTROL_MASK 0x04 class cWaylandInterface { public: bool ServerConnect(void); bool Initialize(void *config); void *EGLGetDisplay(void); void *CreateWindow(void); void DestroyWindow(void); void UpdateFPSDisplay(const char *text); void ToggleFullscreen(bool fullscreen); void SwapBuffers(); }; #endif