wxFlickrAPI.Upload Class Reference

An uploader. More...

#include <wxFlickrClient.h>

Inheritance diagram for wxFlickrAPI.Upload:

wxFlickrAPI.wxFlickrAPIMethod List of all members.

Public Types

enum  State { Idle, Waiting4Ok }

Public Member Functions

 Upload (wxFlickrClient *pClient)
 Create object for flickr.com authentication.
void DoUpload ()
 Start uploading http://flickr.com/services/api/upload.api.html.
void SetImageFileName (wxString sImage)
 Set upload image.

Protected Member Functions

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

Detailed Description

An uploader.


Constructor & Destructor Documentation

Upload::Upload wxFlickrClient pClient  ) 
 

Create object for flickr.com authentication.

Parameters:
pClient The wxFlickrClient instance used for communication.


Member Function Documentation

void Upload::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 Upload::SetImageFileName wxString  sImage  ) 
 

Set upload image.

Parameters:
sImage The image filename to upload.


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