diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-07 20:45:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-08 17:12:12 +0200 |
commit | 98f125ecbb2a80c34213f7e86a417f74ee7e13a1 (patch) | |
tree | b3a9edb60e366a81deac5d8a9b2a6ed4e0013b33 /include | |
parent | c7a708f8c38f47b8c0f74c87b2cb3889cafd4473 (diff) |
use some forward declares
Change-Id: If7f726e8dddb63c8a566f9aa208cd317213d5eba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120166
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/opengl/OpenGLContext.hxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx index 10a62f21bfb8..3c48d3687571 100644 --- a/include/vcl/opengl/OpenGLContext.hxx +++ b/include/vcl/opengl/OpenGLContext.hxx @@ -7,13 +7,18 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_VCL_OPENGL_OPENGLCONTEXT_HXX -#define INCLUDED_VCL_OPENGL_OPENGLCONTEXT_HXX +#pragma once #include <vcl/dllapi.h> -#include <vcl/syschild.hxx> +#include <vcl/sysdata.hxx> +#include <vcl/vclptr.hxx> #include <rtl/ref.hxx> +class Point; +class Size; +class SystemChildWindow; +namespace vcl { class Window; } + /// Holds the information of our new child window struct VCL_DLLPUBLIC GLWindow { @@ -114,6 +119,4 @@ public: OpenGLContext *mpNextContext; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |