LibreOffice Module vcl (master) 1
|
#include <sal/config.h>
#include <sal/log.hxx>
#include <cassert>
#include <osl/file.hxx>
#include <osl/signal.h>
#include <desktop/exithelper.h>
#include <comphelper/accessibleeventnotifier.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/asyncnotification.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <unotools/syslocale.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <utility>
#include <vcl/QueueInfo.hxx>
#include <vcl/svapp.hxx>
#include <vcl/vclmain.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/cvtgrf.hxx>
#include <vcl/scheduler.hxx>
#include <vcl/image.hxx>
#include <vcl/ImageTree.hxx>
#include <vcl/settings.hxx>
#include <vcl/toolkit/unowrap.hxx>
#include <configsettings.hxx>
#include <vcl/lazydelete.hxx>
#include <vcl/embeddedfontshelper.hxx>
#include <vcl/toolkit/dialog.hxx>
#include <vcl/menu.hxx>
#include <vcl/virdev.hxx>
#include <vcl/print.hxx>
#include <debugevent.hxx>
#include <scrwnd.hxx>
#include <windowdev.hxx>
#include <svdata.hxx>
#include <stdlib.h>
#include <impfontcache.hxx>
#include <salinst.hxx>
#include <vcl/svmain.hxx>
#include <dbggui.hxx>
#include <accmgr.hxx>
#include <font/PhysicalFontCollection.hxx>
#include <print.h>
#include <salsys.hxx>
#include <saltimer.hxx>
#include <displayconnectiondispatch.hxx>
#include <config_features.h>
#include <config_feature_opencl.h>
#include <osl/process.h>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/frame/Desktop.hpp>
#include <comphelper/lok.hxx>
#include <cppuhelper/implbase.hxx>
#include <uno/current_context.hxx>
#include <opencl/OpenCLZone.hxx>
#include <opengl/zone.hxx>
#include <skia/zone.hxx>
#include <watchdog.hxx>
#include <basegfx/utils/systemdependentdata.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <typeinfo>
#include <rtl/strbuf.hxx>
#include <unx/gendata.hxx>
Go to the source code of this file.
Namespaces | |
namespace | vclmain |
Functions | |
static oslSignalAction | VCLExceptionSignal_impl (void *, oslSignalInfo *pInfo) |
int | ImplSVMain () |
int | SVMain () |
bool | IsVCLInit () |
bool | vclmain::isAlive () |
bool | InitVCL () |
void | DeInitVCL () |
static void | MainWorkerFunction (void *pArgs) |
void | CreateMainLoopThread (oslWorkerFunction pWorker, void *pThreadData) |
void | JoinMainLoopThread () |
Variables | |
static bool | g_bIsLeanException |
static Application * | pOwnSvApp = nullptr |
static oslSignalHandler | pExceptionHandler = nullptr |
static oslThread | hThreadID = nullptr |
void CreateMainLoopThread | ( | oslWorkerFunction | pWorker, |
void * | pThreadData | ||
) |
Definition at line 659 of file svmain.cxx.
References hThreadID, and MainWorkerFunction().
void DeInitVCL | ( | ) |
Definition at line 421 of file svmain.cxx.
References aBuf, Link< typename Arg, typename Ret >::Call(), EmbeddedFontsHelper::clearTemporaryFontFiles(), comp, DbgGUIDeInitSolarMutexCheck(), Application::DeInit(), DestroySalInstance(), VclPtr< reference_type >::disposeAndClear(), ImplSVData::dropCaches(), basegfx::SystemDependentDataManager::flushAll(), ImageTree::get(), comphelper::getProcessComponentContext(), vcl::Window::GetText(), Application::GetTopWindow(), Application::GetTopWindowCount(), i, Scheduler::ImplDeInitScheduler(), vcl::DeleteOnDeinitBase::ImplDeleteOnDeInit(), ImplDeletePrnQueueList(), ImplGetSVData(), ImplGetSystemDependentDataManager(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsLOKWindowsEmpty(), Link< typename Arg, typename Ret >::IsSet(), ImplSVData::maAppData, ImplSVCtrlData::maCheckImgList, ImplSVData::maCtrlData, ImplSVData::maDeInitHook, ImplSVData::maFrameData, ImplSVData::maGDIData, ImplSVAppData::maKeyListeners, ImplSVWinData::maMsgBoxImgList, ImplSVCtrlData::maRadioImgList, ImplSVData::maSchedCtx, ImplSVData::mbDeInit, ImplSVCtrlData::moDisclosureMinus, ImplSVCtrlData::moDisclosurePlus, ImplSVAppData::mpAccelMgr, ImplSVFrameData::mpActiveApplicationFrame, ImplSVAppData::mpActivePopupMenu, ImplSVData::mpApp, ImplSVFrameData::mpAppWin, ImplSVWinData::mpAutoScrollWin, ImplSVData::mpBlendFrameCache, ImplSVWinData::mpCaptureWin, ImplSVAppData::mpCfgListener, ImplSVData::mpDefaultWin, ImplSVData::mpDefInst, ImplSVWinData::mpExecuteDialogs, ImplSVWinData::mpExtTextInputWin, ImplSVWinData::mpFirstFloat, ImplSVFrameData::mpFirstFrame, ImplSVGDIData::mpFirstPrinter, ImplSVGDIData::mpFirstPrnGraphics, ImplSVGDIData::mpFirstVirDev, ImplSVGDIData::mpFirstVirGraphics, ImplSVGDIData::mpFirstWinGraphics, ImplSVData::mpIntroWindow, ImplSVWinData::mpLastDeacWin, ImplSVGDIData::mpLastPrnGraphics, ImplSVGDIData::mpLastVirGraphics, ImplSVWinData::mpLastWheelWindow, ImplSVGDIData::mpLastWinGraphics, ImplSVData::mpSalData, ImplSVData::mpSalSystem, ImplSchedulerContext::mpSalTimer, ImplSVData::mpSettingsConfigItem, ImplSVWinData::mpTrackWin, ImplSVData::mpUnoWrapper, ImplSVAppData::mpWheelWindow, ImplSVData::mpWinData, ImplSVGDIData::mxGrfConverter, ImplSVGDIData::mxScreenFontCache, ImplSVGDIData::mxScreenFontList, ImplSVAppData::mxSettings, OUStringToOString(), pExceptionHandler, pOwnSvApp, SalInstance::ReleaseYieldMutexAll(), SAL_WARN_IF, comphelper::AccessibleEventNotifier::shutdown(), and ImageTree::shutdown().
Referenced by ImplSVMain().
int ImplSVMain | ( | ) |
Definition at line 185 of file svmain.cxx.
References DeInitVCL(), ImplGetSVData(), InitVCL(), IsVCLInit(), ImplSVData::maAppData, Application::Main(), ImplSVAppData::mbInAppMain, ImplSVData::mpApp, ImplSVData::mpDefInst, ImplSVData::mxAccessBridge, ImplSVData::mxDisplayConnection, SAL_WARN_IF, WatchdogThread::stop(), and SalInstance::SVMainHook().
Referenced by SVMain().
bool InitVCL | ( | ) |
Definition at line 298 of file svmain.cxx.
References SalInstance::AcquireYieldMutex(), SalInstance::AfterAppInit(), EmbeddedFontsHelper::clearTemporaryFontFiles(), CreateSalInstance(), DbgGUIInitSolarMutexCheck(), g_bIsLeanException, DebugEventInjector::getCreate(), MsLangId::getSystemUILanguage(), ImplGetSVData(), Application::Init(), IsVCLInit(), ImplSVData::maAppData, ImplSVData::maGDIData, ImplSVData::mnMainThreadId, ImplSVData::mpApp, ImplSVData::mpDefInst, ImplSVAppData::mxAppFileName, ImplSVGDIData::mxGrfConverter, ImplSVGDIData::mxScreenFontCache, ImplSVGDIData::mxScreenFontList, pExceptionHandler, pOwnSvApp, SAL_INFO, TOOLS_INFO_EXCEPTION, u, and VCLExceptionSignal_impl().
Referenced by ImplSVMain().
bool IsVCLInit | ( | ) |
Definition at line 279 of file svmain.cxx.
References ImplGetSVData(), ImplSVData::mpApp, ImplSVData::mpDefInst, and pExceptionHandler.
Referenced by ImplSVMain(), and InitVCL().
void JoinMainLoopThread | ( | ) |
Definition at line 677 of file svmain.cxx.
References hThreadID.
|
static |
Definition at line 650 of file svmain.cxx.
References hThreadID.
Referenced by CreateMainLoopThread().
int SVMain | ( | ) |
Definition at line 234 of file svmain.cxx.
References ImplSVMain().
Referenced by SAL_IMPLEMENT_MAIN().
|
static |
Definition at line 119 of file svmain.cxx.
References Application::Exception(), EXITHELPER_NORMAL_RESTART, g_bIsLeanException, Application::GetSystemWindowMode(), OpenCLZone::hardDisable(), OpenGLZone::hardDisable(), SkiaZone::hardDisable(), ImplGetSVData(), vcl::SolarMutexTryAndBuyGuard::isAcquired(), CrashZone< OpenGLZone >::isInZone(), CrashZone< SkiaZone >::isInZone(), ImplSVData::mpApp, NOAUTOMODE, NONE, Application::SetSystemWindowMode(), System, and UserInterface.
Referenced by InitVCL().
|
static |
Definition at line 117 of file svmain.cxx.
Referenced by InitVCL(), and VCLExceptionSignal_impl().
|
static |
Definition at line 647 of file svmain.cxx.
Referenced by CreateMainLoopThread(), JoinMainLoopThread(), and MainWorkerFunction().
|
static |
Definition at line 244 of file svmain.cxx.
Referenced by DeInitVCL(), InitVCL(), and IsVCLInit().
|
static |
Definition at line 241 of file svmain.cxx.
Referenced by DeInitVCL(), and InitVCL().