summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/services.cpp')
-rw-r--r--plugins/CloudFile/src/services.cpp26
1 files changed, 2 insertions, 24 deletions
diff --git a/plugins/CloudFile/src/services.cpp b/plugins/CloudFile/src/services.cpp
index 80fc88a852..0b9e062b09 100644
--- a/plugins/CloudFile/src/services.cpp
+++ b/plugins/CloudFile/src/services.cpp
@@ -89,30 +89,8 @@ INT_PTR Upload(WPARAM wParam, LPARAM lParam)
void InitializeServices()
{
PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
- pd.type = PROTOTYPE_PROTOCOL;
-
- pd.szName = MODULE "/Dropbox";
- pd.fnInit = (pfnInitProto)CDropboxService::Init;
- pd.fnUninit = (pfnUninitProto)CDropboxService::UnInit;
- Proto_RegisterModule(&pd);
-
- pd.szName = MODULE "/GDrive";
- pd.fnInit = (pfnInitProto)CGDriveService::Init;
- pd.fnUninit = (pfnUninitProto)CGDriveService::UnInit;
- Proto_RegisterModule(&pd);
-
- pd.szName = MODULE "/OneDrivre";
- pd.fnInit = (pfnInitProto)COneDriveService::Init;
- pd.fnUninit = (pfnUninitProto)COneDriveService::UnInit;
- Proto_RegisterModule(&pd);
-
- pd.szName = MODULE "/YandexDisk";
- pd.fnInit = (pfnInitProto)CYandexService::Init;
- pd.fnUninit = (pfnUninitProto)CYandexService::UnInit;
- Proto_RegisterModule(&pd);
-
- pd.szName = MODULE;
pd.type = PROTOTYPE_FILTER;
+ pd.szName = MODULE;
Proto_RegisterModule(&pd);
CreateServiceFunction(MODULE PSS_FILE, SendFileInterceptor);
@@ -120,4 +98,4 @@ void InitializeServices()
CreateServiceFunction(MS_CLOUDFILE_GETSERVICE, GetService);
CreateServiceFunction(MS_CLOUDFILE_ENUMSERVICES, EnumServices);
CreateServiceFunction(MS_CLOUDFILE_UPLOAD, Upload);
-} \ No newline at end of file
+}