8 #ifndef _INC_cXObjMgrPack_H
9 #define _INC_cXObjMgrPack_H
10 #ifndef NO_PRAGMA_ONCE
15 #include "../XObject/cXObjMgr.h"
16 #include "../ScriptExec/cScriptExec.h"
56 return get_SingleT<cXObjMgrPack>();
72 virtual void DisposeAllX()
override;
75 virtual void RemoveXObjDef(
cXObjDef* pObj)
override;
90 return ReadXObjDir(get_ScriptDir());
92 HRESULT LoadAllScripts(
bool bForce);
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
INT32 HRESULT
_WIN32 style error codes. INT32
Definition: SysTypes.h:465
Definition: cXObjMgr.h:28
Definition: cScriptContext.h:24
Definition: cScriptExec.h:46
Definition: cXObjDef.h:17
Definition: cXObjMgrPack.h:22
cStringF get_ScriptDir() const noexcept
Definition: cXObjMgrPack.h:64
cArrayRef< cXObjModule > m_aXObjModulesToLoad
plug-in DLL/SO's are dangerous and must be treated special. Read order is important here (they may ca...
Definition: cXObjMgrPack.h:37
HRESULT LoadXObjRoot()
Definition: cXObjMgrPack.h:87
cStringF m_sScriptDir
default base directory for script/DLL/SO/Module resource files/packs
Definition: cXObjMgrPack.h:40
cScriptExec m_ScriptExecBest
set sm_pExpExecBest with a default value. Preferred script execution/evaluation engine.
Definition: cXObjMgrPack.h:42
cArrayPtr< cXObjPackFactory > m_aPackFactories
what file extensions can we handle for packages? How to load each type.
Definition: cXObjMgrPack.h:38
cArrayRef< cXObjPack > m_aXObjPacksToLoad
Files queued to be read later. (load order used at startup)
Definition: cXObjMgrPack.h:36
UNITTEST_FRIEND(cXObjMgrPack)
cArraySortSymName< cXObjPack > m_aXObjPacks
All package files we need to get script blocks from. SYMNAME sorted.
Definition: cXObjMgrPack.h:35
static cXObjMgrPack & I()
Definition: cXObjMgrPack.h:58
cScriptContext m_ScriptContextRoot
global/default/Root context. PLEVEL_Owner
Definition: cXObjMgrPack.h:41
TIMESYSD_t m_iScriptCacheTime
Params for control.
Definition: cXObjMgrPack.h:32
static cXObjMgrPack * get_Single()
Definition: cXObjMgrPack.h:53
Definition: cXObjMgr.h:135
Definition: cXObjPack.h:110
Definition: cXObjMgr.h:92
Definition: cArrayRef.h:21
Definition: cFileStatus.h:58
Definition: cSingleton.h:30
Definition: IScriptableObj.h:38
HASHCODE32_t UID_t
Sort of the same as a HASHCODE_t. not the same as UIDINDEX_t.
Definition: cUID.h:18
INT32 TIMESYSD_t
Time delta. signed milli-Seconds Span. cTimeSys::k_DMAX, cTimeSys::k_INF = MAILSLOT_WAIT_FOREVER.
Definition: cTimeSys.h:28
char FILECHAR_t
a UTF8 char in a file name. like TCHAR
Definition: FileName.h:22
char ATOMCHAR_t
the char form (UNICODE or not) for an atom. (for symbolic names)
Definition: StrConst.h:15