diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-01 15:27:08 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-01 15:27:08 +0000 |
commit | f98ef8ff5f7c6d2485d9e627a9af67d67e846d72 (patch) | |
tree | 8393e9fce5eee58ac0f2af6b52a5af0333e2068e /MySpace/MySpace.cpp | |
parent | d1752fb40038c14e0368ba4b1bf86dffaed62365 (diff) |
implemented status messages
added cool protol icons from Angeli-Ka (thankyou!)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@234 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'MySpace/MySpace.cpp')
-rw-r--r-- | MySpace/MySpace.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/MySpace/MySpace.cpp b/MySpace/MySpace.cpp index 6121fa3..c06690d 100644 --- a/MySpace/MySpace.cpp +++ b/MySpace/MySpace.cpp @@ -116,6 +116,14 @@ extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) { code_page = (int)CallService(MS_LANGPACK_GETCODEPAGE, 0, 0);
+ if(ServiceExists(MS_DB_SETSETTINGRESIDENT)) { // 0.6+
+ char buff[256];
+ mir_snprintf(buff, 256, "%s/%s", MODULE, "Status");
+ CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)buff);
+ mir_snprintf(buff, 256, "%s/%s", MODULE, "StatusMsg");
+ CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)buff);
+ }
+
InitARC4Module();
InitOptions();
|