diff options
Diffstat (limited to 'xbmc/interfaces/json-rpc/ProfilesOperations.h')
-rw-r--r-- | xbmc/interfaces/json-rpc/ProfilesOperations.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xbmc/interfaces/json-rpc/ProfilesOperations.h b/xbmc/interfaces/json-rpc/ProfilesOperations.h new file mode 100644 index 0000000..7f11b83 --- /dev/null +++ b/xbmc/interfaces/json-rpc/ProfilesOperations.h @@ -0,0 +1,25 @@ +/* + * Copyright (C) 2013-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "FileItemHandler.h" +#include "JSONRPC.h" + +class CVariant; + +namespace JSONRPC +{ + class CProfilesOperations : CFileItemHandler + { + public: + static JSONRPC_STATUS GetProfiles(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result); + static JSONRPC_STATUS GetCurrentProfile(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result); + static JSONRPC_STATUS LoadProfile(const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result); + }; +} |