mirror of
https://github.com/ENSL/NS.git
synced 2024-12-03 09:42:00 +00:00
27 lines
349 B
C
27 lines
349 B
C
|
|
||
|
#ifndef VGUI_MINIAPP_H
|
||
|
#define VGUI_MINIAPP_H
|
||
|
|
||
|
#include<VGUI.h>
|
||
|
|
||
|
namespace vgui
|
||
|
{
|
||
|
|
||
|
class Frame;
|
||
|
|
||
|
class VGUIAPI MiniApp
|
||
|
{
|
||
|
public:
|
||
|
MiniApp();
|
||
|
public:
|
||
|
virtual void getName(char* buf,int bufLen);
|
||
|
virtual Frame* createInstance()=0;
|
||
|
protected:
|
||
|
virtual void setName(const char* name);
|
||
|
protected:
|
||
|
char* _name;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|