summaryrefslogtreecommitdiff
path: root/library/Hooks-windows.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-28 03:37:56 +0100
committerPetr Mrázek2012-02-28 03:37:56 +0100
commit731472a4781f091ae313bd39d512207e920db10c (patch)
tree25242218ca8f641ef4b36c6d6f46b4ad6cfb1f62 /library/Hooks-windows.cpp
parentf8721c88b57b22842a2d0ecf60f58b31d151b600 (diff)
downloaddfhack-731472a4781f091ae313bd39d512207e920db10c.tar.gz
dfhack-731472a4781f091ae313bd39d512207e920db10c.tar.bz2
dfhack-731472a4781f091ae313bd39d512207e920db10c.tar.xz
Add eggy hooks (linux only for now)
Diffstat (limited to 'library/Hooks-windows.cpp')
-rw-r--r--library/Hooks-windows.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/library/Hooks-windows.cpp b/library/Hooks-windows.cpp
index da95f395..920673c9 100644
--- a/library/Hooks-windows.cpp
+++ b/library/Hooks-windows.cpp
@@ -35,24 +35,6 @@ distribution.
#include "tinythread.h"
#include "modules/Graphic.h"
-/*
- * Plugin loading functions
- */
-namespace DFHack
-{
- DFLibrary * OpenPlugin (const char * filename)
- {
- return (DFLibrary *) LoadLibrary(filename);
- }
- void * LookupPlugin (DFLibrary * plugin ,const char * function)
- {
- return (void *) GetProcAddress((HMODULE)plugin, function);
- }
- void ClosePlugin (DFLibrary * plugin)
- {
- FreeLibrary((HMODULE) plugin);
- }
-}
/*************************************************************************/
// extremely boring wrappers beyond this point. Only fix when broken