From df206393ff2071610ea1d695828ec2e20d88b5ea Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Sun, 1 May 2011 23:14:15 +0000 Subject: Removed updater support git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@595 4f64403b-2f21-0410-a795-97e2b3489a10 --- tipper/tipper.cpp | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) (limited to 'tipper/tipper.cpp') 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")); -- cgit v1.2.3