soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SApp.h File Reference
#include <windows.h>
#include <core/SSingleton.h>
#include <interface/sapp-i.h>
#include <res.mgr/SResProviderMgr.h>
#include <res.mgr/SNamedValue.h>
#include <core/SMsgLoop.h>
#include <core/SObjectFactory.h>
#include <helper/obj-ref-impl.hpp>
#include <interface/SSkinobj-i.h>

Go to the source code of this file.

Classes

class  SObjectDefaultRegister
 Default implementation of ISystemObjectRegister. More...
 
class  SApplication
 SOUI Application. More...
 

Macros

#define GETRESPROVIDER   SNS::SApplication::getSingletonPtr()
 
#define GETRENDERFACTORY   SNS::SApplication::getSingleton().GetRenderFactory()
 
#define GETREALWNDHANDLER   SNS::SApplication::getSingleton().GetRealWndHander()
 
#define GETTOOLTIPFACTORY   SNS::SApplication::getSingleton().GetToolTipFactory()
 
#define LOADXML(p1, p2)
 
#define LOADIMAGE(p1, p2)
 
#define LOADIMAGE2(p1)
 
#define LOADICON(p1, p2)
 
#define LOADICON2(p1)
 
#define TR(p1, p2)
 
#define STR2ID(p1)
 
#define CREATEINTERPOLATOR(x)
 

Functions

virtual void RegisterSkins (SObjectFactoryMgr *objFactory) const PURE
 Register skin objects into the object factory.
 
virtual void RegisterWindows (SObjectFactoryMgr *objFactory) const PURE
 Register window objects into the object factory.
 
virtual void RegisterInterpolator (SObjectFactoryMgr *objFactory) const PURE
 Register interpolator objects into the object factory.
 
virtual void RegisterAnimation (SObjectFactoryMgr *objFactory) const PURE
 Register animation objects into the object factory.
 
virtual void RegisterValueAnimator (SObjectFactoryMgr *objFactory) const PURE
 Register value animator objects into the object factory.
 

Variables

interface SOUI_EXP ISystemObjectRegister
 

Detailed Description

Copyright (C) 2014-2050 SOUI团队 All rights reserved.

Version
v4.0
Author
soui
Date
2022-06-20

Describe SOUI应用程序入口

Definition in file SApp.h.

Macro Definition Documentation

◆ CREATEINTERPOLATOR

#define CREATEINTERPOLATOR ( x)
Value:
SNS::SApplication::getSingleton().CreateInterpolatorByName(x)

Definition at line 42 of file SApp.h.

◆ GETREALWNDHANDLER

#define GETREALWNDHANDLER   SNS::SApplication::getSingleton().GetRealWndHander()

Definition at line 30 of file SApp.h.

◆ GETRENDERFACTORY

#define GETRENDERFACTORY   SNS::SApplication::getSingleton().GetRenderFactory()

Definition at line 29 of file SApp.h.

◆ GETRESPROVIDER

#define GETRESPROVIDER   SNS::SApplication::getSingletonPtr()

Definition at line 28 of file SApp.h.

◆ GETTOOLTIPFACTORY

#define GETTOOLTIPFACTORY   SNS::SApplication::getSingleton().GetToolTipFactory()

Definition at line 31 of file SApp.h.

◆ LOADICON

#define LOADICON ( p1,
p2 )
Value:
SNS::SApplication::getSingleton().LoadIcon(p1, p2, p2)

Definition at line 36 of file SApp.h.

◆ LOADICON2

#define LOADICON2 ( p1)
Value:
SNS::SApplication::getSingleton().LoadIcon2(p1)

Definition at line 37 of file SApp.h.

◆ LOADIMAGE

#define LOADIMAGE ( p1,
p2 )
Value:
((IResProviderMgr*)SNS::SApplication::getSingletonPtr())->LoadImage(p1,p2)

Definition at line 34 of file SApp.h.

◆ LOADIMAGE2

#define LOADIMAGE2 ( p1)
Value:
SNS::SApplication::getSingleton().LoadImage2(p1)

Definition at line 35 of file SApp.h.

◆ LOADXML

#define LOADXML ( p1,
p2 )
Value:
SNS::SApplication::getSingleton().LoadXmlDocment(p1, p2)

Definition at line 33 of file SApp.h.

◆ STR2ID

#define STR2ID ( p1)
Value:
SNS::SApplication::getSingleton().Str2ID(p1)

Definition at line 39 of file SApp.h.

◆ TR

#define TR ( p1,
p2 )
Value:
SNS::SApplication::getSingleton().tr(p1, p2)

Definition at line 38 of file SApp.h.

Function Documentation

◆ RegisterAnimation()

virtual void RegisterAnimation ( SObjectFactoryMgr * objFactory) const
virtual

Register animation objects into the object factory.

Parameters
objFactoryPointer to the object factory manager.

◆ RegisterInterpolator()

virtual void RegisterInterpolator ( SObjectFactoryMgr * objFactory) const
virtual

Register interpolator objects into the object factory.

Parameters
objFactoryPointer to the object factory manager.

◆ RegisterSkins()

virtual void RegisterSkins ( SObjectFactoryMgr * objFactory) const
virtual

Register skin objects into the object factory.

Parameters
objFactoryPointer to the object factory manager.

◆ RegisterValueAnimator()

virtual void RegisterValueAnimator ( SObjectFactoryMgr * objFactory) const
virtual

Register value animator objects into the object factory.

Parameters
objFactoryPointer to the object factory manager.

◆ RegisterWindows()

virtual void RegisterWindows ( SObjectFactoryMgr * objFactory) const
virtual

Register window objects into the object factory.

Parameters
objFactoryPointer to the object factory manager.

Variable Documentation

◆ ISystemObjectRegister

interface SOUI_EXP ISystemObjectRegister
Initial value:
{
virtual void RegisterLayouts(SObjectFactoryMgr * objFactory) const PURE
Manager for object factories.

Definition at line 56 of file SApp.h.