plggui.h

来自「一个任天堂掌上游戏机NDS的源代码」· C头文件 代码 · 共 34 行

H
34
字号
/*************************************************************************** DSemu - The Next Generation                                             ** Plugin definitions: GUI interface [plggui.h]                            ** Copyright Imran Nazar, 2005; released under the BSD public licence.     ***************************************************************************/#ifndef __PLGGUI_H_#define __PLGGUI_H_#include "plgbase.h"#include "msgqueue.h"#include "datadefs.h"// Extending the base plugin interface.class GUIPlugin : public Plugin{    public:        virtual int run() = 0;                                             // Enter GUI loop	virtual int subwinCreate(int, int, const char*, u32*) = 0;         // Create a window from another plugin	virtual void subwinRefresh(int) = 0;                               // Refresh a given subwindow	virtual uint64_t getTimestamp() = 0;                               // Where the GUI is, in clocks	virtual void eventPush(u32, int, vfptr, void*) = 0;                // Push an event into the queue};#define PLUGIN_TYPE_GUI 4#define ERR_GUI_INIT    0x0401#define ERR_GUI_RENDER  0x0402#endif//__PLGGUI_H_/*** EOF: plggui.h *******************************************************/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?