example/clientapi/smf/inc/smfclient/smfclient.h
changeset 3 0446eb7b28aa
parent 2 86af6c333601
child 4 969092730d34
equal deleted inserted replaced
2:86af6c333601 3:0446eb7b28aa
     1 /**
       
     2  * Copyright (c) 2010 Sasken Communication Technologies Ltd.
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the "Eclipse Public License v1.0" 
       
     6  * which accompanies  this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html"
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
       
    11  *
       
    12  * Contributors:
       
    13  * Manasij Roy, Nalina Hariharan
       
    14  * 
       
    15  * Description:
       
    16  * The SmfEvent class represents an event
       
    17  *
       
    18  */
       
    19 
       
    20 #ifndef SMFCLIENT_H
       
    21 #define SMFCLIENT_H
       
    22 
       
    23 #include <QObject>
       
    24 #include <QImage>
       
    25 #include <QUrl>
       
    26 
       
    27 #include "../common/SmfClientGlobal.h"
       
    28 
       
    29 class SmfProvider;
       
    30 
       
    31 /**
       
    32  * @ingroup smf_client_group 
       
    33  * Interface for a base service provider. Other service provider classes contains 
       
    34  * implementation of this base class so that each has access to service provider 
       
    35  * information.
       
    36  * All of the functionality described here should be implemented by a service
       
    37  * specific plug-in object.
       
    38  */
       
    39 class SMFCLIENT_EXPORT SmfClient
       
    40 {
       
    41   /*Q_OBJECT*/
       
    42 
       
    43 public:
       
    44 
       
    45   /**
       
    46    * @param name of the service 
       
    47    * @return service provider list
       
    48    */
       
    49   static QList<SmfProvider>* GetServices(const QString& serviceName); 
       
    50   static QList<SmfProvider>* GetServices(const QString& serviceName, const QString& providerName);
       
    51   static QList<SmfProvider>* GetServices(const QString& serviceName, const SmfProvider& provider);  
       
    52 };
       
    53 
       
    54 
       
    55 #endif // SMFCLIENT_H