LibreOffice Module vcl (master)  1
Classes | 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/processfactory.hxx>
#include <comphelper/asyncnotification.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <unotools/syslocaleoptions.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 <vcl/configsettings.hxx>
#include <vcl/lazydelete.hxx>
#include <vcl/embeddedfontshelper.hxx>
#include <vcl/debugevent.hxx>
#include <vcl/dialog.hxx>
#include <vcl/menu.hxx>
#include <vcl/virdev.hxx>
#include <vcl/print.hxx>
#include <scrwnd.hxx>
#include <stdlib.h>
#include <impfontcache.hxx>
#include <salinst.hxx>
#include <svdata.hxx>
#include <vcl/svmain.hxx>
#include <dbggui.hxx>
#include <accmgr.hxx>
#include <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 <opengl/watchdog.hxx>
#include <basegfx/utils/systemdependentdata.hxx>
#include <tools/diagnose_ex.h>
#include <typeinfo>
#include <rtl/strbuf.hxx>
Include dependency graph for svmain.cxx:

Go to the source code of this file.

Classes

class  DesktopEnvironmentContext
 
struct  WorkerThreadData
 

Namespaces

 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

void CreateMainLoopThread ( oslWorkerFunction  pWorker,
void pThreadData 
)

Definition at line 625 of file svmain.cxx.

References MainWorkerFunction().

void DeInitVCL ( )

Definition at line 405 of file svmain.cxx.

References aBuf, o3tl::lru_map< class, class, class, class >::clear(), EmbeddedFontsHelper::clearTemporaryFontFiles(), DbgGUIDeInitSolarMutexCheck(), Application::DeInit(), DestroySalInstance(), VclPtr< reference_type >::disposeAndClear(), 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(), ImplSVData::maAppData, ImplSVCtrlData::maCheckImgList, ImplSVData::maCtrlData, ImplSVData::maDeInitHook, ImplSVData::maGDIData, ImplSVAppData::maKeyListeners, ImplSVWinData::maMsgBoxImgList, ImplSVCtrlData::maRadioImgList, ImplSVGDIData::maScaleCache, ImplSVData::maSchedCtx, ImplSVGDIData::maThemeDrawCommandsCache, ImplSVGDIData::maThemeImageCache, ImplSVData::maWinData, ImplSVData::mbDeInit, ImplSVAppData::mpAccelMgr, ImplSVWinData::mpActiveApplicationFrame, ImplSVAppData::mpActivePopupMenu, ImplSVData::mpApp, ImplSVWinData::mpAppWin, ImplSVWinData::mpAutoScrollWin, ImplSVData::mpBlendFrameCache, ImplSVWinData::mpCaptureWin, ImplSVAppData::mpCfgListener, ImplSVData::mpDefaultWin, ImplSVData::mpDefInst, ImplSVCtrlData::mpDisclosureMinus, ImplSVCtrlData::mpDisclosurePlus, ImplSVWinData::mpExecuteDialogs, ImplSVWinData::mpExtTextInputWin, ImplSVWinData::mpFirstFloat, ImplSVWinData::mpFirstFrame, ImplSVGDIData::mpFirstPrinter, ImplSVGDIData::mpFirstPrnGraphics, ImplSVGDIData::mpFirstVirDev, ImplSVGDIData::mpFirstVirGraphics, ImplSVGDIData::mpFirstWinGraphics, ImplSVGDIData::mpGrfConverter, ImplSVData::mpIntroWindow, ImplSVWinData::mpLastDeacWin, ImplSVGDIData::mpLastPrnGraphics, ImplSVGDIData::mpLastVirGraphics, ImplSVWinData::mpLastWheelWindow, ImplSVGDIData::mpLastWinGraphics, ImplSVData::mpSalSystem, ImplSchedulerContext::mpSalTimer, ImplSVAppData::mpSettings, ImplSVData::mpSettingsConfigItem, ImplSVWinData::mpTrackWin, ImplSVData::mpUnoWrapper, ImplSVAppData::mpWheelWindow, ImplSVGDIData::mxScreenFontCache, ImplSVGDIData::mxScreenFontList, OUStringToOString(), pExceptionHandler, pOwnSvApp, o3tl::lru_map< class, class, class, class >::remove_if(), SAL_WARN_IF, and ImageTree::shutdown().

Referenced by ImplSVMain().

int ImplSVMain ( )
bool InitVCL ( )
bool IsVCLInit ( )

Definition at line 264 of file svmain.cxx.

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

Referenced by ImplSVMain(), and InitVCL().

void JoinMainLoopThread ( )

Definition at line 643 of file svmain.cxx.

static void MainWorkerFunction ( void pArgs)
static

Definition at line 616 of file svmain.cxx.

Referenced by CreateMainLoopThread().

int SVMain ( )

Definition at line 223 of file svmain.cxx.

References ImplSVMain().

Referenced by SAL_IMPLEMENT_MAIN().

static oslSignalAction VCLExceptionSignal_impl ( void ,
oslSignalInfo *  pInfo 
)
static

Variable Documentation

bool g_bIsLeanException
static

Definition at line 103 of file svmain.cxx.

Referenced by InitVCL(), and VCLExceptionSignal_impl().

oslThread hThreadID = nullptr
static

Definition at line 613 of file svmain.cxx.

oslSignalHandler pExceptionHandler = nullptr
static

Definition at line 233 of file svmain.cxx.

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

Application* pOwnSvApp = nullptr
static

Definition at line 230 of file svmain.cxx.

Referenced by DeInitVCL().