From f98ef8ff5f7c6d2485d9e627a9af67d67e846d72 Mon Sep 17 00:00:00 2001 From: sje Date: Sun, 1 Jul 2007 15:27:08 +0000 Subject: 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 --- MySpace/MySpace.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MySpace/MySpace.cpp') 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(); -- cgit v1.2.3