wxFlickrClientFactory Class Reference

Factory for creating ready-to-use flickr client objects using a given communication type (REST, XMLRPC or SOAP, see: http://www.flickr.com/services/api/). More...

#include <wxFlickrClientFactory.h>

List of all members.

Public Member Functions

 wxFlickrClientFactory ()
 Construction.
virtual ~wxFlickrClientFactory ()
 Destruction.
void SetAPIKey (wxString sKey)
 Set the API key for your application (see http://.
void SetSharedSecret (wxString sSecret)
 Set the shared secret for authentication (see http://.
void SetType (CommunicationType iType)
 Set communication type (see http://www.flickr.com/services/api/).
wxFlickrClientCreateClient ()
 Create a flickr client using the settings defined by calling SetAPIKey(), SetSharedSecret().


Detailed Description

Factory for creating ready-to-use flickr client objects using a given communication type (REST, XMLRPC or SOAP, see: http://www.flickr.com/services/api/).

An apropriate event handler for the socket is created automatically. Make shure to set an observer object for it.


Member Function Documentation

wxFlickrClient * wxFlickrClientFactory::CreateClient  ) 
 

Create a flickr client using the settings defined by calling SetAPIKey(), SetSharedSecret().

Automaticall creates and adds an event handler for the client. Note that an wxFlickrObserver object has to be set (by calling SetObserver()) in order to be notified when event processing has finished.

Todo:
: what would be a nice idsocket?

void wxFlickrClientFactory::SetAPIKey wxString  sKey  ) 
 

Set the API key for your application (see http://.

Todo:
)
Parameters:
sKey A valid API key.

void wxFlickrClientFactory::SetSharedSecret wxString  sSecret  ) 
 

Set the shared secret for authentication (see http://.

Todo:
)
Parameters:
sSecret A valid shared secret.

void wxFlickrClientFactory::SetType CommunicationType  iType  ) 
 

Set communication type (see http://www.flickr.com/services/api/).

Parameters:
iType A valid type of communication.


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