![]() |
Kodi Documentation
18.0
Kodi is an open source media player and entertainment hub.
|
#include "IClient.h"
#include "ITransportLayer.h"
#include "FileItem.h"
#include "GUIUserMessages.h"
#include "ServiceBroker.h"
#include "guilib/GUIComponent.h"
#include "guilib/GUIWindowManager.h"
Classes | |
class | JSONRPC::CJSONRPCUtils |
Namespaces | |
JSONRPC | |
Typedefs | |
typedef JSONRPC_STATUS(* | JSONRPC::MethodCall) (const std::string &method, ITransportLayer *transport, IClient *client, const CVariant ¶meterObject, CVariant &result) |
Function pointer for JSON-RPC methods. More... | |
Enumerations | |
enum | JSONRPC::JSONRPC_STATUS { JSONRPC::OK = 0, JSONRPC::ACK = -1, JSONRPC::InvalidRequest = -32600, JSONRPC::MethodNotFound = -32601, JSONRPC::InvalidParams = -32602, JSONRPC::InternalError = -32603, JSONRPC::ParseError = -32700, JSONRPC::BadPermission = -32099, JSONRPC::FailedToExecute = -32100 } |
Possible statuc codes of a response to a JSON-RPC request. More... | |
enum | JSONRPC::OperationPermission { JSONRPC::ReadData = 0x1, JSONRPC::ControlPlayback = 0x2, JSONRPC::ControlNotify = 0x4, JSONRPC::ControlPower = 0x8, JSONRPC::UpdateData = 0x10, JSONRPC::RemoveData = 0x20, JSONRPC::Navigate = 0x40, JSONRPC::WriteFile = 0x80, JSONRPC::ControlSystem = 0x100, JSONRPC::ControlGUI = 0x200, JSONRPC::ManageAddon = 0x400, JSONRPC::ExecuteAddon = 0x800, JSONRPC::ControlPVR = 0x1000 } |
Permission categories for json rpc methods. More... | |
Functions | |
const char * | JSONRPC::PermissionToString (const OperationPermission &permission) |
Returns a string representation for the given OperationPermission. More... | |
OperationPermission | JSONRPC::StringToPermission (std::string permission) |
Returns a OperationPermission value for the given string representation. More... | |
Variables | |
const int | JSONRPC::OPERATION_PERMISSION_ALL |
const int | JSONRPC::OPERATION_PERMISSION_NOTIFICATION |