diff --git a/include/wups_backend/api.h b/include/wups_backend/api.h index 863f5ab..a5602d0 100644 --- a/include/wups_backend/api.h +++ b/include/wups_backend/api.h @@ -26,14 +26,10 @@ PluginBackendApiErrorType WUPSBackend_LoadAndLinkByDataHandle(const plugin_data_ PluginBackendApiErrorType WUPSBackend_DeletePluginData(const plugin_data_handle *plugin_data_handle_list, uint32_t plugin_data_handle_list_size); -PluginBackendApiErrorType WUPSBackend_LoadPluginAsData(GetPluginInformationInputType inputType, const char *path, char *buffer, size_t size, plugin_data_handle *out); - PluginBackendApiErrorType WUPSBackend_LoadPluginAsDataByPath(plugin_data_handle *output, const char *path); PluginBackendApiErrorType WUPSBackend_LoadPluginAsDataByBuffer(plugin_data_handle *output, char *buffer, size_t size); -PluginBackendApiErrorType WUPSBackend_GetPluginMetaInformation(GetPluginInformationInputType inputType, const char *path, char *buffer, size_t size, plugin_information *output); - PluginBackendApiErrorType WUPSBackend_WUPSGetPluginMetaInformationByPath(plugin_information *output, const char *path); PluginBackendApiErrorType WUPSBackend_GetPluginMetaInformationByBuffer(plugin_information *output, char *buffer, size_t size); diff --git a/source/api.cpp b/source/api.cpp index 391b42d..2b8cd48 100644 --- a/source/api.cpp +++ b/source/api.cpp @@ -186,10 +186,6 @@ PluginBackendApiErrorType WUPSBackend_DeletePluginData(const plugin_data_handle return WUPSDeletePluginData(plugin_data_handle_list, plugin_data_handle_list_size); } -PluginBackendApiErrorType WUPSBackend_LoadPluginAsData(GetPluginInformationInputType inputType, const char *path, char *buffer, size_t size, plugin_data_handle *out) { - return WUPSLoadPluginAsData(inputType, path, buffer, size, out); -} - PluginBackendApiErrorType WUPSBackend_LoadPluginAsDataByPath(plugin_data_handle *output, const char *path) { return WUPSLoadPluginAsDataByPath(output, path); } @@ -198,10 +194,6 @@ PluginBackendApiErrorType WUPSBackend_LoadPluginAsDataByBuffer(plugin_data_handl return WUPSLoadPluginAsDataByBuffer(output, buffer, size); } -PluginBackendApiErrorType WUPSBackend_GetPluginMetaInformation(GetPluginInformationInputType inputType, const char *path, char *buffer, size_t size, plugin_information *output) { - return WUPSGetPluginMetaInformation(inputType, path, buffer, size, output); -} - PluginBackendApiErrorType WUPSBackend_WUPSGetPluginMetaInformationByPath(plugin_information *output, const char *path) { return WUPSGetPluginMetaInformationByPath(output, path); } diff --git a/source/imports.h b/source/imports.h index 98199c7..5c094a7 100644 --- a/source/imports.h +++ b/source/imports.h @@ -27,14 +27,10 @@ extern PluginBackendApiErrorType WUPSLoadAndLinkByDataHandle(const plugin_data_h extern PluginBackendApiErrorType WUPSDeletePluginData(const plugin_data_handle *plugin_data_handle_list, uint32_t plugin_data_handle_list_size); -extern PluginBackendApiErrorType WUPSLoadPluginAsData(GetPluginInformationInputType inputType, const char *path, char *buffer, size_t size, plugin_data_handle *out); - extern PluginBackendApiErrorType WUPSLoadPluginAsDataByPath(plugin_data_handle *output, const char *path); extern PluginBackendApiErrorType WUPSLoadPluginAsDataByBuffer(plugin_data_handle *output, char *buffer, size_t size); -extern PluginBackendApiErrorType WUPSGetPluginMetaInformation(GetPluginInformationInputType inputType, const char *path, char *buffer, size_t size, plugin_information *output); - extern PluginBackendApiErrorType WUPSGetPluginMetaInformationByPath(plugin_information *output, const char *path); extern PluginBackendApiErrorType WUPSGetPluginMetaInformationByBuffer(plugin_information *output, char *buffer, size_t size);