CatalogUpdateEntry.h   CatalogUpdateEntry.h 
skipping to change at line 42 skipping to change at line 42
* This rather simple struct collects information about a status update * This rather simple struct collects information about a status update
*/ */
typedef QVector< QPair< QByteArray, QString > > CatalogStatusItem; typedef QVector< QPair< QByteArray, QString > > CatalogStatusItem;
typedef struct CatalogStatusStruct { typedef struct CatalogStatusStruct {
CatalogTypes::TicketStatus status; CatalogTypes::TicketStatus status;
QString details; QString details;
int items_updated; int items_updated;
CatalogStatusItem items; // List of [ item_id, info ] CatalogStatusItem items; // List of [ item_id, info ]
// int percent_complete;
CatalogStatusStruct() : status( CatalogTypes::Unknown ), items_updated( -1 ) {} CatalogStatusStruct() : status( CatalogTypes::Unknown ), items_updated( -1 ) {}
} CatalogStatus; } CatalogStatus;
/** /**
* This class described a catalog entry for use in the Catalog update() cal l. * This class described a catalog entry for use in the Catalog update() cal l.
* All data fields are optional except Action, and only the ones specified will be sent. * All data fields are optional except Action, and only the ones specified will be sent.
*/ */
class ECHONEST_EXPORT CatalogUpdateEntry class ECHONEST_EXPORT CatalogUpdateEntry
{ {
public: public:
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 Config.h   Config.h 
skipping to change at line 101 skipping to change at line 101
* Set the API key to be used for all API requests. This MUST be se t in order * Set the API key to be used for all API requests. This MUST be se t in order
* for any web service calls to work! * for any web service calls to work!
*/ */
void setAPIKey( const QByteArray& apiKey ); void setAPIKey( const QByteArray& apiKey );
QByteArray apiKey() const; QByteArray apiKey() const;
/** /**
* Set the QNetworkAccessManager to use to make web service request s to * Set the QNetworkAccessManager to use to make web service request s to
* The Echo Nest. * The Echo Nest.
* *
* This will register the given QNAM for the current thread. If you
call this from
* the main thread and only make calls to libechonest from the mai
n thread, you don't
* have to do any more work. However, if you are using multiple QN
AMs in different threads,
* you must call this for each QNAM in each thread so that libecho
nest can use the proper
* thread-local QNAM. This function is thread-safe.
*
* Note that in all threads, if you do not set a QNAM, a default on
e is created and returned.
* In addition, if you set your own QNAM, you are responsible for
deleting it.
*
* This will take over control of the object. * This will take over control of the object.
*/ */
void setNetworkAccessManager( QNetworkAccessManager* nam ); void setNetworkAccessManager( QNetworkAccessManager* nam );
QNetworkAccessManager* nam() const; QNetworkAccessManager* nam() const;
private: private:
Config(); Config();
~Config(); ~Config();
static Config* s_instance; static Config* s_instance;
 End of changes. 1 change blocks. 
0 lines changed or deleted 15 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/