Added initial support for displaying on Wayland compositors.
[vuplus_xbmc] / xbmc / windowing / DllXKBCommon.h
1 #pragma once
2
3 /*
4  *      Copyright (C) 2005-2013 Team XBMC
5  *      http://www.xbmc.org
6  *
7  *  This Program is free software; you can redistribute it and/or modify
8  *  it under the terms of the GNU General Public License as published by
9  *  the Free Software Foundation; either version 2, or (at your option)
10  *  any later version.
11  *
12  *  This Program is distributed in the hope that it will be useful,
13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  *  GNU General Public License for more details.
16  *
17  *  You should have received a copy of the GNU General Public License
18  *  along with XBMC; see the file COPYING.  If not, see
19  *  <http://www.gnu.org/licenses/>.
20  *
21  */
22
23 #if (defined HAVE_CONFIG_H) && (!defined TARGET_WINDOWS)
24   #include "config.h"
25 #endif
26 #include <xkbcommon/xkbcommon.h>
27 #include "utils/log.h"
28 #include "DynamicDll.h"
29
30 class IDllXKBCommon
31 {
32 public:
33   virtual ~IDllXKBCommon() {}
34 };
35
36 class DllXKBCommon : public DllDynamic, public IDllXKBCommon
37 {
38   DECLARE_DLL_WRAPPER(DllXKBCommon, DLL_PATH_XKBCOMMON)
39   BEGIN_METHOD_RESOLVE()
40   END_METHOD_RESOLVE()
41 };