[cosmetics] update date in GPL header
[vuplus_xbmc] / xbmc / windowing / osx / WinSystemOSXGL.h
1 #ifndef WINDOW_SYSTEM_OSX_GL_H
2 #define WINDOW_SYSTEM_OSX_GL_H
3
4 #pragma once
5
6 /*
7  *      Copyright (C) 2005-2013 Team XBMC
8  *      http://www.xbmc.org
9  *
10  *  This Program is free software; you can redistribute it and/or modify
11  *  it under the terms of the GNU General Public License as published by
12  *  the Free Software Foundation; either version 2, or (at your option)
13  *  any later version.
14  *
15  *  This Program is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  *  GNU General Public License for more details.
19  *
20  *  You should have received a copy of the GNU General Public License
21  *  along with XBMC; see the file COPYING.  If not, see
22  *  <http://www.gnu.org/licenses/>.
23  *
24  */
25 #if !defined(__arm__)
26 #include "WinSystemOSX.h"
27 #include "rendering/gl/RenderSystemGL.h"
28 #include "utils/GlobalsHandling.h"
29
30 class CWinSystemOSXGL : public CWinSystemOSX, public CRenderSystemGL
31 {
32 public:
33   CWinSystemOSXGL();
34   virtual ~CWinSystemOSXGL();
35   virtual bool ResizeWindow(int newWidth, int newHeight, int newLeft, int newTop);
36   virtual bool SetFullScreen(bool fullScreen, RESOLUTION_INFO& res, bool blankOtherDisplays);
37
38 protected:
39   virtual bool PresentRenderImpl(const CDirtyRegionList &dirty);
40   virtual void SetVSyncImpl(bool enable);  
41 };
42
43 XBMC_GLOBAL_REF(CWinSystemOSXGL,g_Windowing);
44 #define g_Windowing XBMC_GLOBAL_USE(CWinSystemOSXGL)
45
46 #endif
47 #endif // WINDOW_SYSTEM_H