summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2011-05-01 23:14:15 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2011-05-01 23:14:15 +0000
commitdf206393ff2071610ea1d695828ec2e20d88b5ea (patch)
tree628abaf9ec52c075cd72c4a1f740b1114235f98e
parentb906ddd0e95f6f5eb799fd4770cd9b18912eb7c8 (diff)
Removed updater support
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@595 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r--tipper/tipper.cpp35
1 files changed, 2 insertions, 33 deletions
diff --git a/tipper/tipper.cpp b/tipper/tipper.cpp
index 206d981..72e562a 100644
--- a/tipper/tipper.cpp
+++ b/tipper/tipper.cpp
@@ -100,39 +100,8 @@ int SettingChanged(WPARAM wParam, LPARAM lParam) {
return 0;
}
-int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
- if(ServiceExists(MS_UPDATE_REGISTER)) {
- // register with updater
- Update update = {0};
- char szVersion[16];
-
- update.cbSize = sizeof(Update);
-
- update.szComponentName = pluginInfo.shortName;
- update.pbVersion = (BYTE *)CreateVersionString(pluginInfo.version, szVersion);
- update.cpbVersion = (int)strlen((char *)update.pbVersion);
- update.szBetaChangelogURL = "https://server.scottellis.com.au/wsvn/mim_plugs/tipper/?op=log&rev=0&sc=0&isdir=1";
-
- update.szUpdateURL = UPDATER_AUTOREGISTER;
-
- // these are the three lines that matter - the archive, the page containing the version string, and the text (or data)
- // before the version that we use to locate it on the page
- // (note that if the update URL and the version URL point to standard file listing entries, the backend xml
- // data will be used to check for updates rather than the actual web page - this is not true for beta urls)
-#ifdef _UNICODE
- update.szBetaUpdateURL = "http://www.scottellis.com.au/miranda_plugins/tipper.zip";
- update.szBetaVersionURL = "http://www.scottellis.com.au/miranda_plugins/ver_tipper.html";
-#else
- update.szBetaUpdateURL = "http://www.scottellis.com.au/miranda_plugins/tipper_ansi.zip";
- update.szBetaVersionURL = "http://www.scottellis.com.au/miranda_plugins/ver_tipper_ansi.html";
-#endif
- update.pbBetaVersionPrefix = (BYTE *)"Tipper version ";
-
- update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
-
- CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
- }
-
+int ModulesLoaded(WPARAM wParam, LPARAM lParam)
+{
font_id_title.cbSize = sizeof(FontIDT);
font_id_title.flags = FIDF_ALLOWEFFECTS;
_tcscpy(font_id_title.group, LPGENT("Tooltips"));