| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
#ifndef _PLUGIN_H_ |
| 30 |
#define _PLUGIN_H_ |
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
#include <stdio.h> |
| 38 |
|
| 39 |
#include "missing.h" |
| 40 |
|
| 41 |
#include "synapse.h" |
| 42 |
#include "iplugin.h" |
| 43 |
#include "itoolbar.h" |
| 44 |
#define USE_QERTABLE_DEFINE |
| 45 |
#include "qerplugin.h" |
| 46 |
#include "igl.h" |
| 47 |
#include "ifilesystem.h" |
| 48 |
#include "ientity.h" |
| 49 |
#include "idata.h" |
| 50 |
|
| 51 |
|
| 52 |
#define BKGRND2D_DEBUG |
| 53 |
|
| 54 |
extern _QERFuncTable_1 g_FuncTable; |
| 55 |
extern _QERQglTable g_QglTable; |
| 56 |
extern _QERFileSystemTable g_FileSystemTable; |
| 57 |
extern _QEREntityTable g_EntityTable; |
| 58 |
extern _QERAppDataTable g_DataTable; |
| 59 |
extern void *g_pMainWidget; |
| 60 |
|
| 61 |
extern CSynapseServer* g_pSynapseServer; |
| 62 |
|
| 63 |
class CSynapseClientBkgrnd2d : public CSynapseClient |
| 64 |
{ |
| 65 |
public: |
| 66 |
|
| 67 |
bool RequestAPI( APIDescriptor_t *pAPI ); |
| 68 |
const char* GetInfo(); |
| 69 |
const char* GetName(); |
| 70 |
|
| 71 |
CSynapseClientBkgrnd2d() { } |
| 72 |
virtual ~CSynapseClientBkgrnd2d() { } |
| 73 |
}; |
| 74 |
#define MSG_PREFIX "bkgrnd2d: " |
| 75 |
#define MSG_WARN "bkgrnd2d WARNING: " |
| 76 |
#define BKGRND2D_MINOR "bkgrnd2d" |
| 77 |
#define FILETYPE_KEY "bkgrnd2d" |
| 78 |
|
| 79 |
#endif |