wxFlickrAPI.Favorites Class Reference

A wrapper for flickr.favorites. More...

#include <wxFlickrClient.h>

Inheritance diagram for wxFlickrAPI.Favorites:

wxFlickrAPI.wxFlickrAPIMethod List of all members.

Public Types

enum  State { Idle, Waiting4List, Waiting4Add, Waiting4Remove }

Public Member Functions

 Favorites (wxFlickrClient *pClient)
 Create object for flickr.com blog operations.
void Add ()
 Call flickr.favorites.add (see http://www.flickr.com/services/api/flickr.favorites.add.html).
void GetList ()
 Call flickr.favorites.getList (see http://www.flickr.com/services/api/flickr.favorites.getList.html).
void GetPublicList ()
 Call flickr.favorites.getPublicList (see http://www.flickr.com/services/api/flickr.favorites.getPublicList.html).
void Remove ()
 Call flickr.favorites.remove (see http://www.flickr.com/services/api/flickr.favorites.remove.html).

Protected Member Functions

virtual void ProcessFlickrResponse (TiXmlNode *pResponse)
 Process the data received by OnFlickrResponse.
void ProcessList (TiXmlNode *pResponse)

Detailed Description

A wrapper for flickr.favorites.


Constructor & Destructor Documentation

Favorites::Favorites wxFlickrClient pClient  ) 
 

Create object for flickr.com blog operations.

Parameters:
pClient The wxFlickrClient instance used for communication.


Member Function Documentation

void Favorites::Add  ) 
 

Call flickr.favorites.add (see http://www.flickr.com/services/api/flickr.favorites.add.html).

Make sure to call SetArg for all arguments this call should use.

void Favorites::GetList  ) 
 

Call flickr.favorites.getList (see http://www.flickr.com/services/api/flickr.favorites.getList.html).

Make sure to call SetArg for all arguments this call should use.

void Favorites::GetPublicList  ) 
 

Call flickr.favorites.getPublicList (see http://www.flickr.com/services/api/flickr.favorites.getPublicList.html).

Make sure to call SetArg for all arguments this call should use.

void Favorites::ProcessFlickrResponse TiXmlNode *  pResponse  )  [protected, virtual]
 

Process the data received by OnFlickrResponse.

Subclasses define more meaningful behavior. Each method call handles its own responses.

Parameters:
pResponse The XML-payload to be handled.

Reimplemented from wxFlickrAPI.wxFlickrAPIMethod.

void Favorites::Remove  ) 
 

Call flickr.favorites.remove (see http://www.flickr.com/services/api/flickr.favorites.remove.html).

Make sure to call SetArg for all arguments this call should use.


The documentation for this class was generated from the following files:
Generated on Mon Feb 20 11:06:42 2006 for wxFlickr by  doxygen 1.4.6-NO