OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
BluezOBEXTransfer Class Reference

Documentation for class BluezOBEXTransfer. More...

#include <BluezOBEXTransfer.hpp>

Public Types

enum  Status {
  eStatusQueued = 0, eStatusActive, eStatusSuspended, eStatusComplete,
  eStatusError
}
 
typedef void(* StatusChangeCallback )(Status status, void *userData)
 

Public Member Functions

 BluezOBEXTransfer ()
 Constructor. More...
 
virtual ~BluezOBEXTransfer ()
 Destructor, virtual by default. More...
 
bool init (GDBusConnection *connection, const std::string &objectPath)
 
bool isInitialized ()
 
void clean ()
 
bool cancel ()
 
bool suspend ()
 
bool resume ()
 
Status getStatus ()
 
void setCallback (StatusChangeCallback cb, void *userData)
 

Detailed Description

Documentation for class BluezOBEXTransfer.

Member Typedef Documentation

typedef void(* BluezOBEXTransfer::StatusChangeCallback)(Status status, void *userData)

Member Enumeration Documentation

Enumerator
eStatusQueued 
eStatusActive 
eStatusSuspended 
eStatusComplete 
eStatusError 

Constructor & Destructor Documentation

BluezOBEXTransfer::BluezOBEXTransfer ( )

Constructor.

BluezOBEXTransfer::~BluezOBEXTransfer ( )
virtual

Destructor, virtual by default.

Member Function Documentation

bool BluezOBEXTransfer::cancel ( )
void BluezOBEXTransfer::clean ( )
BluezOBEXTransfer::Status BluezOBEXTransfer::getStatus ( )
bool BluezOBEXTransfer::init ( GDBusConnection *  connection,
const std::string &  objectPath 
)
bool BluezOBEXTransfer::isInitialized ( )
bool BluezOBEXTransfer::resume ( )
void BluezOBEXTransfer::setCallback ( StatusChangeCallback  cb,
void *  userData 
)
bool BluezOBEXTransfer::suspend ( )

The documentation for this class was generated from the following files: