diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-28 08:34:59 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-28 08:34:59 +0000 |
commit | 6c417a45f25de9480ef200177c7bed0f4782eb19 (patch) | |
tree | f49a12a076e5fa20a95430998816a92fb741ebee /MySpace/MySpace.cpp | |
parent | 81a69c4c216350d48d962ac43fea3108498bbf33 (diff) |
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@219 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'MySpace/MySpace.cpp')
-rw-r--r-- | MySpace/MySpace.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MySpace/MySpace.cpp b/MySpace/MySpace.cpp index 39540df..cb1da5d 100644 --- a/MySpace/MySpace.cpp +++ b/MySpace/MySpace.cpp @@ -6,6 +6,7 @@ #include "proto.h"
#include "net.h"
#include "menu.h"
+#include "arc4.h"
///////////////////////////////////////////////
// Common Plugin Stuff
@@ -13,6 +14,7 @@ HINSTANCE hInst;
PLUGINLINK *pluginLink;
HANDLE mainThread;
+int code_page;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -64,6 +66,9 @@ extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) { pluginLink=link;
+ code_page = (int)CallService(MS_LANGPACK_GETCODEPAGE, 0, 0);
+
+ InitARC4Module();
InitOptions();
/////////////
@@ -82,6 +87,7 @@ extern "C" __declspec (dllexport) int Unload(void) { DeinitNetlib();
DeinitProto();
DeinitOptions();
+ DeinitARC4Module();
return 0;
}
|