example/flickrcontactfetcherplugin/flickrcontactfetcherplugin.h
author cgandhi
Mon, 11 Oct 2010 21:59:54 +0530
changeset 26 83d6a149c755
parent 23 574948b60dab
permissions -rw-r--r--
Submitting following changes - AuthApps for Last.fm and Twitter added API for checking ServiceAuthorization added for SMFCredMgrClient API added for forcefully removing credential details from SMFCredMgr Extra argument checks in SMfClient APIs APIs for service login and logout from SMFClient Redundant members removed from SmfServerSymbian DSM bug fixes Test Apps included
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     1
/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     2
 * Copyright (c) 2010 Sasken Communication Technologies Ltd.
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     3
 * All rights reserved.
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     4
 * This component and the accompanying materials are made available
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     5
 * under the terms of the "Eclipse Public License v1.0" 
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     6
 * which accompanies  this distribution, and is available
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html"
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     8
 *
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
     9
 * Initial Contributors:
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    10
 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    11
 *
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    12
 * Contributors:
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    13
 * Nalina Hariharan
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    14
 * 
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    15
 * Description:
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    16
 * The Plugin that fetches contacts from the logged in user's flickr account
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    17
 *
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    18
 */
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    19
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    20
#ifndef _FLICKRCONTACTFETCHERPLUGIN_H
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    21
#define _FLICKRCONTACTFETCHERPLUGIN_H
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    22
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    23
// Include files
17
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
    24
#include <QDateTime>
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    25
#include <smfcontactfetcherplugin.h>
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    26
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    27
// Forward declarations
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    28
class FlickrProviderBase;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    29
class QVariant;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    30
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    31
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    32
/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    33
 * The Plugin that fetches contacts from the logged in user's flickr account
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    34
 */
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    35
class FlickrContactFetcherPlugin : public QObject, public SmfContactFetcherPlugin
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    36
	{
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    37
	Q_OBJECT
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    38
	Q_INTERFACES( SmfContactFetcherPlugin SmfPluginBase )
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    39
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    40
public:
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    41
	/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    42
	 * Destructor
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    43
	 */
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    44
	virtual ~FlickrContactFetcherPlugin( );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    45
	
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
    46
public: // From SmfContactFetcherPlugin interface
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    47
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    48
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    49
	 * Method to get the list of friends
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    50
	 * @param aRequest [out] The request data to be sent to network
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    51
	 * @param aPageNum The page to be extracted
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    52
	 * @param aItemsPerPage Number of items per page
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    53
	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    54
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    55
	SmfPluginError friends( SmfPluginRequestData &aRequest,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    56
			const int aPageNum = SMF_FIRST_PAGE, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    57
			const int aItemsPerPage = SMF_ITEMS_PER_PAGE );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    58
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    59
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    60
	 * Method to get the list of followers
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    61
	 * @param aRequest [out] The request data to be sent to network
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    62
	 * @param aPageNum The page to be extracted
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    63
	 * @param aItemsPerPage Number of items per page
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    64
	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    65
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    66
	SmfPluginError followers( SmfPluginRequestData &aRequest,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    67
			const int aPageNum = SMF_FIRST_PAGE, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    68
			const int aItemsPerPage = SMF_ITEMS_PER_PAGE );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    69
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    70
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    71
	 * Method to search for a contact
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    72
	 * @param aRequest [out] The request data to be sent to network
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    73
	 * @param aContact contact to be searched
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    74
	 * @param aPageNum The page to be extracted
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    75
	 * @param aItemsPerPage Number of items per page
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    76
	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    77
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    78
	SmfPluginError search( SmfPluginRequestData &aRequest,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    79
			const SmfContact &aContact,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    80
			const int aPageNum = SMF_FIRST_PAGE, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    81
			const int aItemsPerPage = SMF_ITEMS_PER_PAGE );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    82
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    83
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    84
	 * Method to search for contacts (friends) who are near the user.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    85
	 * Proximity defines accuracy level
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    86
	 * @param aRequest [out] The request data to be sent to network
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    87
	 * @param aLocation The location search criteria
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    88
	 * @param aProximity location search boundary
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    89
	 * @param aPageNum The page to be extracted
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    90
	 * @param aItemsPerPage Number of items per page
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    91
	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    92
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    93
	SmfPluginError searchNear( SmfPluginRequestData &aRequest,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    94
			const SmfLocation &aLocation,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    95
			const SmfLocationSearchBoundary &aProximity,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    96
			const int aPageNum = SMF_FIRST_PAGE, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    97
			const int aItemsPerPage = SMF_ITEMS_PER_PAGE );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    98
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
    99
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   100
	 * Method to get the list of groups
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   101
	 * @param aRequest [out] The request data to be sent to network
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   102
	 * @param aPageNum The page to be extracted
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   103
	 * @param aItemsPerPage Number of items per page
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   104
	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   105
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   106
	SmfPluginError groups( SmfPluginRequestData &aRequest,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   107
			const int aPageNum = SMF_FIRST_PAGE, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   108
			const int aItemsPerPage = SMF_ITEMS_PER_PAGE );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   109
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   110
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   111
	 * Method to search for a contact in a group
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   112
	 * @param aRequest [out] The request data to be sent to network
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   113
	 * @param aGroup the group in which to search
23
574948b60dab updating the lastfm music plugins and adding the smfhelp.chm
cgandhi
parents: 17
diff changeset
   114
	 * @param aContact The contact to be searched, default (NULL) is the self contact.
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   115
	 * @param aPageNum The page to be extracted
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   116
	 * @param aItemsPerPage Number of items per page
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   117
	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   118
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   119
	SmfPluginError searchInGroup( SmfPluginRequestData &aRequest,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   120
			const SmfGroup &aGroup,
23
574948b60dab updating the lastfm music plugins and adding the smfhelp.chm
cgandhi
parents: 17
diff changeset
   121
			SmfContact *aContact = NULL,
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   122
			const int aPageNum = SMF_FIRST_PAGE, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   123
			const int aItemsPerPage = SMF_ITEMS_PER_PAGE );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   124
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   125
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   126
	 * Customised method for SmfContactFetcherPlugin interface
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   127
	 * @param aRequest [out] The request data to be sent to network
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   128
	 * @param aOperation The operation type (should be known between 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   129
	 * the client interface and the plugin)
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   130
	 * @param aData The data required to form the request (The type 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   131
	 * of data should be known between client and the plugin)
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   132
	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   133
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   134
	SmfPluginError customRequest( SmfPluginRequestData &aRequest, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   135
			const int &aOperation, QByteArray *aData );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   136
	
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   137
public: // From SmfPluginBase interface
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   138
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   139
	 * The first method to be called in the plugin that implements this interface.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   140
	 * If this method is not called, plugin may not behave as expected.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   141
	 */
17
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   142
	void initialize( );
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   143
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   144
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   145
	 * Method to get the provider information
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   146
	 * @return Instance of SmfProviderBase
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   147
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   148
	SmfProviderBase* getProviderInfo( );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   149
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   150
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   151
	 * Method to get the result for a network request.
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   152
	 * @param aOperation The type of operation to be requested
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   153
	 * @param aTransportResult The result of transport operation
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   154
	 * @param aResponse The QByteArray instance containing the network response.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   155
	 * The plugins should delete this instance once they have read the 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   156
	 * data from it.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   157
	 * @param aResult [out] An output parameter to the plugin manager.If the 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   158
	 * return value is SmfSendRequestAgain, QVariant will be of type 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   159
	 * SmfPluginRequestData.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   160
	 * For SmfGalleryPlugin: If last operation was pictures(), aResult will 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   161
	 * be of type QList<SmfPicture>. If last operation was description(), 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   162
	 * aResult will be of type QString. If last operation was upload() or 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   163
	 * postComment(), aResult will be of type bool.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   164
	 * @param aRetType [out] SmfPluginRetType
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   165
	 * @param aPageResult [out] The SmfResultPage structure variable
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   166
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   167
	SmfPluginError responseAvailable( 
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   168
			const SmfRequestTypeID aOperation,
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   169
			const SmfTransportResult &aTransportResult, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   170
			QByteArray *aResponse, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   171
			QVariant* aResult, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   172
			SmfPluginRetType &aRetType,
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   173
			SmfResultPage &aPageResult );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   174
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   175
private:
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   176
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   177
	 * Method called by plugins to generate a signature string from a base string
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   178
	 * @param aBaseString The base string
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   179
	 * @return The md5 hash of the base string
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   180
	 */
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   181
	QString generateSignature( const QString aBaseString );
17
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   182
	
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   183
	/**
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   184
	 * Method to interpret the key sets obtained from credential manager 
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   185
	 * @param aApiKey [out] The api key
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   186
	 * @param aApiSecret [out] The api secret
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   187
	 * @param aAuthToken [out] The auth token provided by Flickr
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   188
	 */
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   189
	void fetchKeys(	QString &aApiKey, 
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   190
			QString &aApiSecret, 
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   191
			QString &aAuthToken );
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   192
    
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   193
private:
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   194
	FlickrProviderBase *m_provider;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   195
	};
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   196
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   197
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   198
/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   199
 * The Plugin class that implements SmfProviderBase for this flickr plugin
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   200
 */
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   201
class FlickrProviderBase : public QObject, public SmfProviderBase
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   202
	{
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   203
	Q_OBJECT
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   204
	Q_INTERFACES( SmfProviderBase )
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   205
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   206
public:
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   207
	/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   208
	 * Destructor
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   209
	 */
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   210
	virtual ~FlickrProviderBase( );
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   211
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   212
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   213
	 * Method to get the Localisable name of the service.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   214
	 * @return The Localisable name of the service.
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   215
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   216
	QString serviceName( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   217
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   218
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   219
	 * Method to get the Logo of the service
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   220
	 * @return The Logo of the service
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   221
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   222
	QImage serviceIcon( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   223
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   224
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   225
	 * Method to get the Readable service description
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   226
	 * @return The Readable service description
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   227
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   228
	QString description( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   229
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   230
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   231
	 * Method to get the Website of the service
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   232
	 * @return The Website of the service
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   233
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   234
	QUrl serviceUrl( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   235
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   236
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   237
	 * Method to get the URL of the Application providing this service
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   238
	 * @return The URL of the Application providing this service
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   239
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   240
	QUrl applicationUrl( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   241
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   242
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   243
	 * Method to get the Icon of the application
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   244
	 * @return The Icon of the application
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   245
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   246
	QImage applicationIcon( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   247
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   248
	/**
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   249
	* Method to get the list of interfaces that this provider support
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   250
	* @return List of supported Interafces
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   251
	*/
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   252
	QList<QString> supportedInterfaces( ) const;
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   253
	
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   254
	/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   255
	* Method to get the list of languages supported by this service provider
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   256
	* @return a QStringList of languages supported by this service 
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   257
	* provider in 2 letter ISO 639-1 format.
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   258
	*/
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   259
	QStringList supportedLanguages( ) const;
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   260
	
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   261
	/**
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   262
	 * Method to get the Plugin specific ID
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   263
	 * @return The Plugin specific ID
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   264
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   265
	QString pluginId( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   266
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   267
	/**
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   268
	 * Method to get the ID of the authentication application 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   269
	 * for this service
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   270
	 * @param aProgram The authentication application name
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   271
	 * @param aArguments List of arguments required for authentication app
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   272
	 * @param aMode Strting mode for authentication application
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   273
	 * @return The ID of the authentication application 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   274
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   275
	QString authenticationApp( QString &aProgram, QStringList & aArguments, 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   276
			QIODevice::OpenModeFlag aMode = QIODevice::ReadWrite ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   277
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   278
	/**
26
83d6a149c755 Submitting following changes -
cgandhi
parents: 23
diff changeset
   279
	 * Method to get the authentication application process name
83d6a149c755 Submitting following changes -
cgandhi
parents: 23
diff changeset
   280
	 * @return The authentication application process name (eg: "FlickrAuthApp.exe")
83d6a149c755 Submitting following changes -
cgandhi
parents: 23
diff changeset
   281
	 */
83d6a149c755 Submitting following changes -
cgandhi
parents: 23
diff changeset
   282
	QString authenticationAppName( ) const;
83d6a149c755 Submitting following changes -
cgandhi
parents: 23
diff changeset
   283
	
83d6a149c755 Submitting following changes -
cgandhi
parents: 23
diff changeset
   284
	/**
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   285
	 * Method to get the unique registration ID provided by the 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   286
	 * Smf for authorised plugins
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   287
	 * @return The unique registration ID/token provided by the Smf for 
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   288
	 * authorised plugins
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   289
	 */
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   290
	QString smfRegistrationId( ) const;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   291
	
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   292
private:
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   293
	/**
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   294
	 * Method that initializes this class. This method should be called 
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   295
	 * from the initialize() method of the FlickrContactProviderBase class
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   296
	 */
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   297
	void initialize();
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   298
	
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   299
private:
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   300
	friend class FlickrContactFetcherPlugin;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   301
	QString m_serviceName;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   302
	QImage m_serviceIcon;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   303
	QString m_description;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   304
	QUrl m_serviceUrl;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   305
	QUrl m_applicationUrl;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   306
	QImage m_applicationIcon;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   307
	QString m_pluginId;
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   308
	QString m_authAppId;
26
83d6a149c755 Submitting following changes -
cgandhi
parents: 23
diff changeset
   309
	QString m_authAppName;
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   310
	QString m_smfRegToken;
14
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   311
	QList<QString> m_supportedInterfaces;
a469c0e6e7fb changes for SmfPost, SmfCredentialMgr, PLuginManager, SmfServer. Adding Sample Plugins and Sample Client Applications.
cgandhi <chandradeep.gandhi@sasken.com>
parents: 6
diff changeset
   312
	QStringList m_supportedLangs;
17
106a4bfcb866 pushing the flickr auth app and gallery plugins
cgandhi
parents: 14
diff changeset
   313
	QDateTime m_validity;
6
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   314
	};
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   315
c39a6cfd1fb9 Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff changeset
   316
#endif /*_FLICKRCONTACTFETCHERPLUGIN_H*/