LibreOffice Module vcl (master)  1
Classes | Namespaces | Typedefs | Enumerations | Functions
svapp.hxx File Reference
#include <sal/config.h>
#include <sal/types.h>
#include <cassert>
#include <vector>
#include <comphelper/solarmutex.hxx>
#include <osl/mutex.hxx>
#include <rtl/ustring.hxx>
#include <osl/thread.h>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/inputtypes.hxx>
#include <vcl/exceptiontypes.hxx>
#include <vcl/vclevent.hxx>
#include <vcl/vclenum.hxx>
#include <i18nlangtag/lang.h>
#include <o3tl/typed_flags_set.hxx>
#include <com/sun/star/uno/Reference.h>
Include dependency graph for svapp.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< SystemWindowFlags >
 
class  ApplicationEvent
 An application can be notified of a number of different events: More...
 
class  Application
 Base class used mainly for the LibreOffice Desktop class. More...
 
class  SolarMutexGuard
 
class  SolarMutexClearableGuard
 
class  SolarMutexResettableGuard
 
class  vcl::SolarMutexTryAndBuyGuard
 guard class that uses tryToAcquire() and has isAcquired() to check More...
 
class  SolarMutexReleaser
 A helper class that calls Application::ReleaseSolarMutex() in its constructor and restores the mutex in its destructor. More...
 

Namespaces

 weld
 
 vcl
 
 com
 
 com::sun
 
 com::sun::star
 
 com::sun::star::uno
 
 com::sun::star::ui
 
 com::sun::star::ui::dialogs
 
 com::sun::star::awt
 
 o3tl
 

Typedefs

typedef long(* VCLEventHookProc) (NotifyEvent &rEvt, void *pData)
 

Enumerations

enum  SystemWindowFlags {
  SystemWindowFlags::NOAUTOMODE = 0x0001,
  SystemWindowFlags::DIALOG = 0x0002
}
 
enum  DialogCancelMode {
  DialogCancelMode::Off,
  DialogCancelMode::Silent,
  DialogCancelMode::Fatal
}
 

Functions

VCL_DLLPUBLIC sal_UCS4 GetMirroredChar (sal_UCS4)
 
VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar (sal_UCS4, LanguageType)
 
VCL_DLLPUBLIC ApplicationGetpApp ()
 
VCL_DLLPUBLIC bool IsVCLInit ()
 
VCL_DLLPUBLIC bool InitVCL ()
 
VCL_DLLPUBLIC void DeInitVCL ()
 
VCL_DLLPUBLIC bool InitAccessBridge ()
 
VCL_DLLPUBLIC void CreateMainLoopThread (oslWorkerFunction pWorker, void *pThreadData)
 
VCL_DLLPUBLIC void JoinMainLoopThread ()
 

Typedef Documentation

typedef long(* VCLEventHookProc) (NotifyEvent &rEvt, void *pData)

Definition at line 102 of file svapp.hxx.

Enumeration Type Documentation

enum DialogCancelMode
strong
Enumerator
Off 

do not automatically cancel dialogs

Silent 

silently cancel any dialogs

Fatal 

cancel any dialogs by std::abort

Definition at line 218 of file svapp.hxx.

enum SystemWindowFlags
strong
Enumerator
NOAUTOMODE 
DIALOG 

Definition at line 93 of file svapp.hxx.

Function Documentation

VCL_DLLPUBLIC void CreateMainLoopThread ( oslWorkerFunction  pWorker,
void pThreadData 
)

Definition at line 625 of file svmain.cxx.

References MainWorkerFunction().

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

VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar ( sal_UCS4  ,
LanguageType   
)
VCL_DLLPUBLIC sal_UCS4 GetMirroredChar ( sal_UCS4  )

Definition at line 131 of file sallayout.cxx.

VCL_DLLPUBLIC Application* GetpApp ( )
VCL_DLLPUBLIC bool InitAccessBridge ( )
VCL_DLLPUBLIC bool InitVCL ( )
VCL_DLLPUBLIC bool IsVCLInit ( )

Definition at line 264 of file svmain.cxx.

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

Referenced by ImplSVMain(), and InitVCL().

VCL_DLLPUBLIC void JoinMainLoopThread ( )

Definition at line 643 of file svmain.cxx.