refactor
This commit is contained in:
@ -19,8 +19,8 @@
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
#ifndef INCLUDE_RPC_CLIENT_CLIENT_HPP_
|
||||
#define INCLUDE_RPC_CLIENT_CLIENT_HPP_
|
||||
#ifndef REPERTORY_INCLUDE_RPC_CLIENT_CLIENT_HPP_
|
||||
#define REPERTORY_INCLUDE_RPC_CLIENT_CLIENT_HPP_
|
||||
|
||||
#include "types/rpc.hpp"
|
||||
|
||||
@ -38,11 +38,11 @@ public:
|
||||
|
||||
[[nodiscard]] auto get_config() -> rpc_response;
|
||||
|
||||
[[nodiscard]] auto get_config_value_by_name(const std::string &name)
|
||||
-> rpc_response;
|
||||
[[nodiscard]] auto
|
||||
get_config_value_by_name(const std::string &name) -> rpc_response;
|
||||
|
||||
[[nodiscard]] auto get_directory_items(const std::string &api_path)
|
||||
-> rpc_response;
|
||||
[[nodiscard]] auto
|
||||
get_directory_items(const std::string &api_path) -> rpc_response;
|
||||
|
||||
[[nodiscard]] auto get_open_files() -> rpc_response;
|
||||
|
||||
@ -52,9 +52,9 @@ public:
|
||||
|
||||
[[nodiscard]] auto pinned_status(const std::string &api_file) -> rpc_response;
|
||||
|
||||
[[nodiscard]] auto set_config_value_by_name(const std::string &name,
|
||||
const std::string &value)
|
||||
-> rpc_response;
|
||||
[[nodiscard]] auto
|
||||
set_config_value_by_name(const std::string &name,
|
||||
const std::string &value) -> rpc_response;
|
||||
|
||||
[[nodiscard]] auto unmount() -> rpc_response;
|
||||
|
||||
@ -62,4 +62,4 @@ public:
|
||||
};
|
||||
} // namespace repertory
|
||||
|
||||
#endif // INCLUDE_RPC_CLIENT_CLIENT_HPP_
|
||||
#endif // REPERTORY_INCLUDE_RPC_CLIENT_CLIENT_HPP_
|
||||
|
@ -19,8 +19,8 @@
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
#ifndef INCLUDE_RPC_SERVER_FULL_SERVER_HPP_
|
||||
#define INCLUDE_RPC_SERVER_FULL_SERVER_HPP_
|
||||
#ifndef REPERTORY_INCLUDE_RPC_SERVER_FULL_SERVER_HPP_
|
||||
#define REPERTORY_INCLUDE_RPC_SERVER_FULL_SERVER_HPP_
|
||||
|
||||
#include "rpc/server/server.hpp"
|
||||
|
||||
@ -64,4 +64,4 @@ protected:
|
||||
};
|
||||
} // namespace repertory
|
||||
|
||||
#endif // INCLUDE_RPC_SERVER_FULL_SERVER_HPP_
|
||||
#endif // REPERTORY_INCLUDE_RPC_SERVER_FULL_SERVER_HPP_
|
||||
|
@ -19,8 +19,8 @@
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
#ifndef INCLUDE_RPC_SERVER_SERVER_HPP_
|
||||
#define INCLUDE_RPC_SERVER_SERVER_HPP_
|
||||
#ifndef REPERTORY_INCLUDE_RPC_SERVER_SERVER_HPP_
|
||||
#define REPERTORY_INCLUDE_RPC_SERVER_SERVER_HPP_
|
||||
|
||||
#include "types/rpc.hpp"
|
||||
|
||||
@ -72,4 +72,4 @@ public:
|
||||
};
|
||||
} // namespace repertory
|
||||
|
||||
#endif // INCLUDE_RPC_SERVER_SERVER_HPP_
|
||||
#endif // REPERTORY_INCLUDE_RPC_SERVER_SERVER_HPP_
|
||||
|
Reference in New Issue
Block a user