smf/smfservermodule/smfserver/server/smfserverqt_p.h
changeset 18 013a02bf2bb0
parent 14 a469c0e6e7fb
child 26 83d6a149c755
equal deleted inserted replaced
17:106a4bfcb866 18:013a02bf2bb0
     9  * Initial Contributors:
     9  * Initial Contributors:
    10  * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
    10  * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
    11  *
    11  *
    12  * Contributors:
    12  * Contributors:
    13  * Manasij Roy, Nalina Hariharan
    13  * Manasij Roy, Nalina Hariharan
    14 * Description:
    14  * Description:
    15 * SMF Server implementation for platforms other than Symbian.
    15  * SMF Server implementation for platforms other than Symbian.
    16 * Uses  QLocalServer-QLocalSocket classes
    16  * Uses  QLocalServer-QLocalSocket classes
    17 *
    17  * 
    18 */
    18  */
    19 
    19 
    20 #ifndef SMFSERVERQT_P_H
    20 #ifndef SMFSERVERQT_P_H
    21 #define SMFSERVERQT_P_H
    21 #define SMFSERVERQT_P_H
    22 
    22 
    23 #include "smfglobal.h"
    23 #include <QObject>
       
    24 #include <smfglobal.h>
    24 
    25 
    25 #include <QObject>
       
    26 class SmfServer;
    26 class SmfServer;
    27 class QLocalServer;
    27 class QLocalServer;
    28 class QLocalSocket;
    28 class QLocalSocket;
    29 
    29 
    30 class SmfServerQt : public QObject
    30 class SmfServerQt : public QObject
    31 {
    31 	{
    32     Q_OBJECT
    32     Q_OBJECT
    33 
    33 
    34 public:
    34 public:
    35     SmfServerQt(SmfServer* wrapper);
    35     SmfServerQt(SmfServer* wrapper);
    36     ~SmfServerQt();
    36     ~SmfServerQt();
    37 
    37 
    38     inline SmfServer *wrapper() const;
    38     inline SmfServer *wrapper() const;
    39 
    39 
    40     bool start();
    40     bool start();
    41     int sessionListCount() const;
    41     int sessionListCount() const;
    42     //void writeLog(QString log) const;
       
    43     void clientAuthorizationFinished(bool success);
    42     void clientAuthorizationFinished(bool success);
    44     int findAndServiceclient(int requestID,QByteArray* parsedData,SmfError error);
    43     int findAndServiceclient(int requestID,QByteArray* parsedData,SmfError error);
    45 
    44 
    46     ~SmfServerQt() {}
    45     ~SmfServerQt() {}
    47     bool start() {return false;}
    46     bool start() {return false;}
    63     
    62     
    64 private:
    63 private:
    65     SmfServerQt *iServer;
    64     SmfServerQt *iServer;
    66     QLocalSocket *iClientConnection;
    65     QLocalSocket *iClientConnection;
    67 
    66 
    68 };
    67 	};
    69 
    68 
    70 #endif // SMFSERVERQT_P_H
    69 #endif // SMFSERVERQT_P_H