Kaydet (Commit) 99df964c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Consolidate declarations of {fire,reap}_glxtest_process in single include file

Change-Id: I7f25cba311d42a7e8751cf3651f684b88d1fb8ac
Reviewed-on: https://gerrit.libreoffice.org/69711
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 055480aa
......@@ -181,11 +181,6 @@ OUString ReplaceStringHookProc(const OUString& rStr);
}
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined LIBO_HEADLESS
bool fire_glxtest_process();
void reap_glxtest_process();
#endif
#endif // INCLUDED_DESKTOP_INC_APP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -106,6 +106,7 @@
#include <svtools/miscopt.hxx>
#include <svtools/menuoptions.hxx>
#include <rtl/bootstrap.hxx>
#include <vcl/glxtestprocess.hxx>
#include <vcl/help.hxx>
#include <vcl/weld.hxx>
#include <vcl/settings.hxx>
......
......@@ -33,6 +33,7 @@
#include <rtl/bootstrap.hxx>
#include <sal/log.hxx>
#include <tools/extendapplicationenvironment.hxx>
#include <vcl/glxtestprocess.hxx>
#include <vcl/svmain.hxx>
#include <com/sun/star/beans/NamedValue.hpp>
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_INCLUDE_VCL_GLXTESTPROCESS_HXX
#include <sal/config.h>
bool fire_glxtest_process();
void reap_glxtest_process();
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
......@@ -16,10 +16,6 @@ VCL_DLLPUBLIC int* getGlxPipe();
VCL_DLLPUBLIC pid_t* getGlxPid();
bool fire_glxtest_process();
void reap_glxtest_process();
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -23,15 +23,12 @@
#include <sal/main.h>
#include <tools/extendapplicationenvironment.hxx>
#include <vcl/glxtestprocess.hxx>
#include <vcl/vclmain.hxx>
#include <vcl/svmain.hxx>
#include <salinst.hxx>
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined LIBO_HEADLESS && !defined HAIKU
#include <opengl/x11/glxtest.hxx>
#endif
SAL_IMPLEMENT_MAIN() {
#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID && !defined LIBO_HEADLESS && !defined HAIKU
fire_glxtest_process();
......
......@@ -39,6 +39,7 @@
#include <X11/Xutil.h>
#include <sal/log.hxx>
#include <vcl/glxtestprocess.hxx>
// stuff from glx.h
typedef struct __GLXcontextRec *GLXContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment