mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
a82675b7d5
Also changes some function params, but this is ok. Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
36 lines
648 B
C++
36 lines
648 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <X11/keysym.h>
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xutil.h>
|
|
|
|
#if USE_EGL
|
|
class cXInterface
|
|
{
|
|
private:
|
|
void XEventThread();
|
|
public:
|
|
bool ServerConnect(void);
|
|
bool Initialize(void *config, void *window_handle);
|
|
void *EGLGetDisplay(void);
|
|
void *CreateWindow(void);
|
|
void DestroyWindow(void);
|
|
void UpdateFPSDisplay(const std::string& text);
|
|
void SwapBuffers();
|
|
};
|
|
#else
|
|
class cX11Window
|
|
{
|
|
private:
|
|
void XEventThread();
|
|
public:
|
|
void CreateXWindow(void);
|
|
void DestroyXWindow(void);
|
|
};
|
|
#endif
|