Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
DBusMessage.h File Reference
#include <cstdint>
#include <memory>
#include <string>
#include <type_traits>
#include <dbus/dbus.h>

Classes

struct  ToDBusType< bool >
 
struct  ToDBusType< char * >
 
struct  ToDBusType< const char * >
 
struct  ToDBusType< std::uint8_t >
 
struct  ToDBusType< std::int16_t >
 
struct  ToDBusType< std::uint16_t >
 
struct  ToDBusType< std::int32_t >
 
struct  ToDBusType< std::uint32_t >
 
struct  ToDBusType< std::int64_t >
 
struct  ToDBusType< std::uint64_t >
 
struct  ToDBusType< double >
 
struct  DBusMessageDeleter
 
class  CDBusMessage
 

Typedefs

template<typename T >
using ToDBusTypeFromPointer = ToDBusType<typename std::remove_pointer<T>::type>
 
using DBusMessagePtr = std::unique_ptr<DBusMessage, DBusMessageDeleter>
 

Functions

template<>
void CDBusMessage::AppendArgument< std::string > (const std::string arg)
 

Typedef Documentation

◆ DBusMessagePtr

using DBusMessagePtr = std::unique_ptr<DBusMessage, DBusMessageDeleter>

◆ ToDBusTypeFromPointer

template<typename T >
using ToDBusTypeFromPointer = ToDBusType<typename std::remove_pointer<T>::type>

Function Documentation

◆ CDBusMessage::AppendArgument< std::string >()

template<>
void CDBusMessage::AppendArgument< std::string > ( const std::string arg)