Ubuntu TV Media Scanner
A centralized index for removable media content.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
mediascanner::dbus::PropertySkeleton Class Referenceabstract

#include <mediascanner/dbusutils.h>

+ Inheritance diagram for mediascanner::dbus::PropertySkeleton:

Public Member Functions

virtual ~PropertySkeleton ()
 
virtual bool readable () const =0
 
virtual bool writable () const =0
 
virtual GVariantGetValue (const std::string &sender, const std::string &target, GError **error) const =0
 Retrieves the value of this D-Bus property. More...
 
virtual bool SetValue (const std::string &sender, const std::string &target, GVariant *value, GError **error) const =0
 Updates the value of this D-Bus property. More...
 

Constructor & Destructor Documentation

virtual mediascanner::dbus::PropertySkeleton::~PropertySkeleton ( )
inlinevirtual

Member Function Documentation

virtual GVariant* mediascanner::dbus::PropertySkeleton::GetValue ( const std::string &  sender,
const std::string &  target,
GError **  error 
) const
pure virtual

Retrieves the value of this D-Bus property.

Parameters
[in]senderThe sender of this D-Bus request.
[in]targetThe target of this D-Bus request.
[out]errorLocation for storing a possible error.
Returns
The current value of this property.
virtual bool mediascanner::dbus::PropertySkeleton::readable ( ) const
pure virtual
virtual bool mediascanner::dbus::PropertySkeleton::SetValue ( const std::string &  sender,
const std::string &  target,
GVariant value,
GError **  error 
) const
pure virtual

Updates the value of this D-Bus property.

Parameters
[in]senderThe sender of this D-Bus request.
[in]targetThe target of this D-Bus request.
[in]valueThe new value for this property.
[out]errorLocation for storing a possible error.
Returns
true on success

Implemented in mediascanner::dbus::ReadOnlyPropertyImplementation< T >.

virtual bool mediascanner::dbus::PropertySkeleton::writable ( ) const
pure virtual