This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
#ifndef __sgIApp__
#define __sgIApp__
//#include "sgObject.h"
class IProgresser
{
public:
virtual bool InitProgresser(unsigned int steps_count) = 0;
virtual bool Progress(unsigned int progress_percent) = 0;
virtual bool StopProgresser() = 0;
};
class ISceneTreeControl
{
public:
typedef void* TREENODEHANDLE;
virtual TREENODEHANDLE AddNode(sgCObject**, TREENODEHANDLE) = 0;
virtual bool ShowNode(sgCObject*) = 0;
virtual bool HideNode(TREENODEHANDLE) = 0;
virtual bool UpdateNode(TREENODEHANDLE) = 0;
virtual bool RemoveNode(TREENODEHANDLE) = 0;
virtual bool ClearTree() = 0;
};
sgCore_API void sgSetToObjectTreeNodeHandle(sgCObject*,
ISceneTreeControl::TREENODEHANDLE);
sgCore_API ISceneTreeControl::TREENODEHANDLE sgGetFromObjectTreeNodeHandle(sgCObject*);
class ICoreAppInterface
{
public:
virtual IProgresser* GetProgresser() =0;
virtual ISceneTreeControl* GetSceneTreeControl() =0;
};
sgCore_API bool sgSetApplicationInterface(ICoreAppInterface*);
#endif