• Modules
  • CallbackInterface
  • Contents

    CallbackInterface Class Reference

    The CallbackInterface class is a convenience class to wrap DBus callback infromation for TransferEngineClient API. More...

     #include <CallbackInterface>

    Public Functions

    CallbackInterface ()
    CallbackInterface ( const QString & server, const QString & path, const QString & interface, const QString & cancelMethod, const QString & restartMethod )
    ~CallbackInterface ()

    Detailed Description

    The CallbackInterface class is a convenience class to wrap DBus callback infromation for TransferEngineClient API.

    This class should be used with TransferEngineClient API.

    NOTE: If creating an instance of this class to the heap, the caller is responsible of freeing the allocated memory.

    See also TransferEngineClient::createSyncEvent() and TransferEngineClient::createDownloadEvent().

    Member Function Documentation

    CallbackInterface::CallbackInterface ()

    Construct an empty CallbackInterface. This can be used if client doesn't want to provide callback interface to the Sync or Download events.

    CallbackInterface::CallbackInterface ( const QString & server, const QString & path, const QString & interface, const QString & cancelMethod, const QString & restartMethod )

    Construct CallbackInterface instance to provide callback information to the TransferEngineClient. Setup arguments as:

    CallbackInterface::~CallbackInterface ()