summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-08 16:27:43 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-08 16:27:43 +0000
commit6b0cd0f2c3077d45cf86f413fdb35d2de2f1ae2e (patch)
tree370c8d1c36bd07381638c7aa8687ed44e909648e
parent9dcad35f7d973b3161b6e56926fc565c2716f943 (diff)
added clickable single-instance popups for mail and blog comment notification
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@259 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--MySpace/MySpace_8.vcproj8
-rw-r--r--MySpace/server_con.cpp5
-rw-r--r--MySpace/version.h4
3 files changed, 13 insertions, 4 deletions
diff --git a/MySpace/MySpace_8.vcproj b/MySpace/MySpace_8.vcproj
index ca79b23..57ddce5 100644
--- a/MySpace/MySpace_8.vcproj
+++ b/MySpace/MySpace_8.vcproj
@@ -369,6 +369,10 @@
>
</File>
<File
+ RelativePath=".\notifications.cpp"
+ >
+ </File>
+ <File
RelativePath=".\options.cpp"
>
</File>
@@ -419,6 +423,10 @@
>
</File>
<File
+ RelativePath=".\notifications.h"
+ >
+ </File>
+ <File
RelativePath=".\options.h"
>
</File>
diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp
index 094e5dd..2753f14 100644
--- a/MySpace/server_con.cpp
+++ b/MySpace/server_con.cpp
@@ -5,6 +5,7 @@
#include "options.h"
#include "nick_dialog.h"
#include "formatting.h"
+#include "notifications.h"
#include <malloc.h>
#include <ctime>
@@ -675,10 +676,10 @@ void __cdecl ServerThreadFunc(void*) {
Dictionary body = msg.get_dict("body");
char b[10];
if(body.get_string("BlogComment", b, 10)) {
- PUShowMessage("You have new blog comments", SM_NOTIFY);
+ NotifyBlogComment();
}
if(body.get_string("Mail", b, 10)) {
- PUShowMessage("You have new mail", SM_NOTIFY);
+ NotifyMail();
}
}
}
diff --git a/MySpace/version.h b/MySpace/version.h
index 88cf53f..bb11509 100644
--- a/MySpace/version.h
+++ b/MySpace/version.h
@@ -4,8 +4,8 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 0
-#define __RELEASE_NUM 2
-#define __BUILD_NUM 6
+#define __RELEASE_NUM 3
+#define __BUILD_NUM 0
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM