LibreOffice Module vcl (master) 1
Namespaces | Functions | Variables
svmain.cxx File Reference
#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>
Include dependency graph for svmain.cxx:

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 ApplicationpOwnSvApp = nullptr
 
static oslSignalHandler pExceptionHandler = nullptr
 
static oslThread hThreadID = nullptr
 

Function Documentation

◆ CreateMainLoopThread()

void CreateMainLoopThread ( oslWorkerFunction  pWorker,
void *  pThreadData 
)

Definition at line 659 of file svmain.cxx.

References hThreadID, and MainWorkerFunction().

◆ DeInitVCL()

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().

◆ ImplSVMain()

int ImplSVMain ( )

◆ InitVCL()

bool InitVCL ( )

◆ IsVCLInit()

bool IsVCLInit ( )

Definition at line 279 of file svmain.cxx.

References ImplGetSVData(), ImplSVData::mpApp, ImplSVData::mpDefInst, and pExceptionHandler.

Referenced by ImplSVMain(), and InitVCL().

◆ JoinMainLoopThread()

void JoinMainLoopThread ( )

Definition at line 677 of file svmain.cxx.

References hThreadID.

◆ MainWorkerFunction()

static void MainWorkerFunction ( void *  pArgs)
static

Definition at line 650 of file svmain.cxx.

References hThreadID.

Referenced by CreateMainLoopThread().

◆ SVMain()

int SVMain ( )

Definition at line 234 of file svmain.cxx.

References ImplSVMain().

Referenced by SAL_IMPLEMENT_MAIN().

◆ VCLExceptionSignal_impl()

static oslSignalAction VCLExceptionSignal_impl ( void *  ,
oslSignalInfo *  pInfo 
)
static

Variable Documentation

◆ g_bIsLeanException

bool g_bIsLeanException
static

Definition at line 117 of file svmain.cxx.

Referenced by InitVCL(), and VCLExceptionSignal_impl().

◆ hThreadID

oslThread hThreadID = nullptr
static

Definition at line 647 of file svmain.cxx.

Referenced by CreateMainLoopThread(), JoinMainLoopThread(), and MainWorkerFunction().

◆ pExceptionHandler

oslSignalHandler pExceptionHandler = nullptr
static

Definition at line 244 of file svmain.cxx.

Referenced by DeInitVCL(), InitVCL(), and IsVCLInit().

◆ pOwnSvApp

Application* pOwnSvApp = nullptr
static

Definition at line 241 of file svmain.cxx.

Referenced by DeInitVCL(), and InitVCL().