From 1311d665b59c3ed49812b4c36978b415d891e29d Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 23 Jan 2025 19:19:53 -0600 Subject: [PATCH] refactor event system --- .../librepertory/include/events/events.hpp | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/repertory/librepertory/include/events/events.hpp b/repertory/librepertory/include/events/events.hpp index 5e3ebf16..22fde19a 100644 --- a/repertory/librepertory/include/events/events.hpp +++ b/repertory/librepertory/include/events/events.hpp @@ -53,24 +53,14 @@ E_SIMPLE2(download_resume_removed, debug, std::string, dest_path, dest, E_FROM_STRING ); -E_SIMPLE1(item_timeout, trace, - std::string, api_path, ap, E_FROM_STRING -); - E_SIMPLE3(download_type_selected, debug, std::string, api_path, ap, E_FROM_STRING, std::string, source, src, E_FROM_STRING, download_type, download_type, type, E_FROM_DOWNLOAD_TYPE ); -E_SIMPLE3(fuse_event, debug, - std::string, function, func, E_FROM_STRING, - std::string, api_path, ap, E_FROM_STRING, - int, result, res, E_FROM_INT32 -); - -E_SIMPLE1(fuse_args_parsed, info, - std::string, arguments, args, E_FROM_STRING +E_SIMPLE1(item_timeout, trace, + std::string, api_path, ap, E_FROM_STRING ); E_SIMPLE2(invalid_cache_size, warn, @@ -89,6 +79,16 @@ E_SIMPLE2(packet_client_timeout, error, ); //FUSE +E_SIMPLE3(fuse_event, debug, + std::string, function, func, E_FROM_STRING, + std::string, api_path, ap, E_FROM_STRING, + int, result, res, E_FROM_INT32 +); + +E_SIMPLE1(fuse_args_parsed, info, + std::string, arguments, args, E_FROM_STRING +); + E_SIMPLE3(remote_fuse_server_event, debug, std::string, function, func, E_FROM_STRING, std::string, api_path, ap, E_FROM_STRING,