X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=contrib%2Fbkgrnd2d%2Fplugin.h;h=361bf833c2b4fb56ff33845e002c836efb2fb367;hb=9dfae1c9b270ee369c6362903a9205b30751b95f;hp=13ca737884e29ca048f98a0d9d6b222f81d1d483;hpb=b7e36c120eb1546a6c6f97f30e42ab7f9a559c61;p=xonotic%2Fnetradiant.git diff --git a/contrib/bkgrnd2d/plugin.h b/contrib/bkgrnd2d/plugin.h index 13ca7378..361bf833 100644 --- a/contrib/bkgrnd2d/plugin.h +++ b/contrib/bkgrnd2d/plugin.h @@ -41,7 +41,9 @@ #include "synapse.h" #include "iplugin.h" #include "itoolbar.h" + #define USE_QERTABLE_DEFINE + #include "qerplugin.h" #include "igl.h" #include "ifilesystem.h" @@ -58,19 +60,24 @@ extern _QEREntityTable g_EntityTable; extern _QERAppDataTable g_DataTable; extern void *g_pMainWidget; -extern CSynapseServer* g_pSynapseServer; +extern CSynapseServer *g_pSynapseServer; -class CSynapseClientBkgrnd2d : public CSynapseClient -{ +class CSynapseClientBkgrnd2d : public CSynapseClient { public: // CSynapseClient API -bool RequestAPI( APIDescriptor_t *pAPI ); -const char* GetInfo(); -const char* GetName(); + bool RequestAPI(APIDescriptor_t *pAPI); + + const char *GetInfo(); -CSynapseClientBkgrnd2d() { } -virtual ~CSynapseClientBkgrnd2d() { } + const char *GetName(); + + CSynapseClientBkgrnd2d() + {} + + virtual ~CSynapseClientBkgrnd2d() + {} }; + #define MSG_PREFIX "bkgrnd2d: " #define MSG_WARN "bkgrnd2d WARNING: " #define BKGRND2D_MINOR "bkgrnd2d"