summaryrefslogtreecommitdiff
path: root/vcl/inc/OpenGLWrapper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 17:24:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 17:24:43 +0100
commita6f8766d352f33beea5631697fd8c7be2be5e85b (patch)
treeaaa9be1872e1d7c68698de7a34dc84b7ce09b182 /vcl/inc/OpenGLWrapper.hxx
parenta5cbf486ac69a8c6c090df032a24f7c14138ef8e (diff)
loplugin:deletedspecial (Mac OS X)
Change-Id: Ia09e2e7b3e40bd04da64b52fe29258017b90b156
Diffstat (limited to 'vcl/inc/OpenGLWrapper.hxx')
-rw-r--r--vcl/inc/OpenGLWrapper.hxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/vcl/inc/OpenGLWrapper.hxx b/vcl/inc/OpenGLWrapper.hxx
index 0b90b41ac4e2..9134801ea98a 100644
--- a/vcl/inc/OpenGLWrapper.hxx
+++ b/vcl/inc/OpenGLWrapper.hxx
@@ -10,19 +10,11 @@
#include "AppKit/NSOpenGLView.h"
#include "AppKit/NSOpenGL.h"
-class OpenGLWrapper
+namespace OpenGLWrapper
{
-private:
-
- OpenGLWrapper();
- OpenGLWrapper(const OpenGLWrapper&);
- OpenGLWrapper& operator=(const OpenGLWrapper&);
-
-public:
-
- static void swapBuffers(NSOpenGLView* pView);
- static void makeCurrent(NSOpenGLView* pView);
- static void resetCurrent();
-};
+ void swapBuffers(NSOpenGLView* pView);
+ void makeCurrent(NSOpenGLView* pView);
+ void resetCurrent();
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */