summaryrefslogtreecommitdiff
path: root/plugins/Updater/services.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 21:37:56 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-13 21:37:56 +0000
commit92a701741ab376c6bd8ac20f832f55e55324abdc (patch)
treeaae30addc202f556781d3c86706a1fdef4fa953b /plugins/Updater/services.h
parent9f1350bd4fb0df56a4115e80343285eef8acb954 (diff)
Updater removal - stage 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@956 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Updater/services.h')
-rw-r--r--plugins/Updater/services.h78
1 files changed, 0 insertions, 78 deletions
diff --git a/plugins/Updater/services.h b/plugins/Updater/services.h
deleted file mode 100644
index ce4a2dc574..0000000000
--- a/plugins/Updater/services.h
+++ /dev/null
@@ -1,78 +0,0 @@
-#ifndef _SERVICES_INC
-#define _SERVICES_INC
-
-#include "m_updater.h"
-#include "options.h"
-#include "xmldata.h"
-#include "conf_dialog.h"
-#include "conf_comp_dialog.h"
-#include "progress_dialog.h"
-#include "extern.h"
-#include "scan.h"
-#include "popups.h"
-
-#include "socket.h"
-#include "allocations.h"
-#include "utils.h"
-#include "updater.h"
-
-
-void RestoreStatus();
-
-INT_PTR Register(WPARAM wParam, LPARAM lParam);
-
-////////////////////////////
-// used internally
-/////////////////////
-
-// used to create the 'Check for Updates' trigger action in triggerplugin
-#define MS_UPDATE_CHECKFORUPDATESTRGR "Update/CheckForUpdatesTrigger"
-
-
-#define MS_UPDATE_CHECKFORUPDATES "Update/CheckForUpdates"
-// wParam = (BOOL)don't confirm
-// lParam = (BOOL)don't restart after update
-// returns 1 if user cancels or there are no plugins to update, 0 otherwise (implies impending restart)
-INT_PTR CheckForUpdates(WPARAM wParam, LPARAM lParam);
-
-#define MS_UPDATE_MENUCHECKFORUPDATES "Update/MenuCheckForUpdates"
-__inline int MenuCheckForUpdates(WPARAM wParam, LPARAM lParam) {
- return CheckForUpdates(0,0);
-}
-
-#define MS_UPDATE_MENURESTART "Update/MenuRestart"
-INT_PTR Restart(WPARAM wParam, LPARAM lParam);
-
-#define MS_UPDATE_MENUUPDATEANDEXIT "Update/MenuUpdateAndExit"
-INT_PTR UpdateAndExit(WPARAM wParam, LPARAM lParam);
-
-#define MS_UPDATE_SETUPDATEOPTIONS "Update/SetUpdateOptions"
-// wParam = (char *)szComponentName
-// lParam = (UpdateOptions *)&update_options
-INT_PTR SetUpdateOptions(WPARAM wParam, LPARAM lParam);
-
-#define MS_UPDATE_GETUPDATEOPTIONS "Update/GetUpdateOptions"
-// wParam = (char *)szComponentName
-// lParam = (UpdateOptions *)&update_options
-INT_PTR GetUpdateOptions(WPARAM wParam, LPARAM lParam);
-
-void LoadUpdateOptions(char *szComponentName, UpdateOptions *update_options);
-
-// callback function typedef for enumerating installed plugins with their associated options
-// (warning - critical section locked during this function call - so don't call other services or functions from this plugin that use the update list)
-typedef int (*UpdateEnumerateFunc)(char *szComonentName, UpdateOptions *update_options, LPARAM lParam);
-#define MS_UPDATE_ENUMERATE "Update/EnumerateUpdates"
-// wParam = (UpdateEnumerateFunc)enum_func
-// lParam = lParam
-INT_PTR EnumerateUpdates(WPARAM wParam, LPARAM lParam);
-////////////////////////////
-
-bool IsRegistered(int file_id);
-bool RegisterForFileListing(int file_id, PLUGININFOEX *pluginInfo, bool auto_register);
-bool RegisterForFileListing(int file_id, const char *fl_name, DWORD version, bool auto_register, const Category cat);
-
-void InitServices();
-void PreDeinitServices();
-void DeinitServices();
-
-#endif