Moved sm_memtable files in sqlite extension to sdk directory (to be consistent with topmenus) Some extension source files had an incorrect extension name in their headers --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402037
		
			
				
	
	
		
			55 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
/**
 | 
						|
 * vim: set ts=4 :
 | 
						|
 * ======================================================
 | 
						|
 * Metamod:Source Stub Plugin
 | 
						|
 * Written by AlliedModders LLC.
 | 
						|
 * ======================================================
 | 
						|
 *
 | 
						|
 * This software is provided 'as-is', without any express or implied warranty.
 | 
						|
 * In no event will the authors be held liable for any damages arising from 
 | 
						|
 * the use of this software.
 | 
						|
 *
 | 
						|
 * This stub plugin is public domain.
 | 
						|
 *
 | 
						|
 * Version: $Id$
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_
 | 
						|
#define _INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_
 | 
						|
 | 
						|
#include <ISmmPlugin.h>
 | 
						|
 | 
						|
class StubPlugin : 
 | 
						|
	public ISmmPlugin,
 | 
						|
	public IMetamodListener
 | 
						|
{
 | 
						|
public:
 | 
						|
	bool Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late);
 | 
						|
	bool Unload(char *error, size_t maxlen);
 | 
						|
	bool Pause(char *error, size_t maxlen);
 | 
						|
	bool Unpause(char *error, size_t maxlen);
 | 
						|
	void AllPluginsLoaded();
 | 
						|
	const char *GetAuthor();
 | 
						|
	const char *GetName();
 | 
						|
	const char *GetDescription();
 | 
						|
	const char *GetURL();
 | 
						|
	const char *GetLicense();
 | 
						|
	const char *GetVersion();
 | 
						|
	const char *GetDate();
 | 
						|
	const char *GetLogTag();
 | 
						|
public: //IMetamodListener
 | 
						|
	void *OnMetamodQuery(const char *iface, int *ret);
 | 
						|
private:
 | 
						|
	void BindToSourcemod();
 | 
						|
};
 | 
						|
 | 
						|
void Hook_ServerActivate(edict_t *pEdictList, int edictCount, int clientMax);
 | 
						|
 | 
						|
extern StubPlugin g_StubPlugin;
 | 
						|
extern ISmmPlugin *mmsplugin;
 | 
						|
 | 
						|
PLUGIN_GLOBALVARS();
 | 
						|
 | 
						|
#endif //_INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_
 | 
						|
 |