emailservices/nmclientapi/inc/nmapieventnotifier_p.h
changeset 76 38bf5461e270
parent 68 83cc6bae1de8
equal deleted inserted replaced
74:6c59112cfd31 76:38bf5461e270
    22 #include "nmapiprivateclasses.h"
    22 #include "nmapiprivateclasses.h"
    23 #include <nmapicommon.h>
    23 #include <nmapicommon.h>
    24 
    24 
    25 class QTimer;
    25 class QTimer;
    26 
    26 
    27 class NmApiEngine;
       
    28 
       
    29 namespace EmailClientApi
    27 namespace EmailClientApi
    30 {
    28 {
       
    29 class NmApiEngine;
       
    30 	
    31 class NmApiEventNotifierPrivate : public QObject
    31 class NmApiEventNotifierPrivate : public QObject
    32 {
    32 {
    33     Q_OBJECT
    33     Q_OBJECT
    34 public:
    34 public:
    35     NmApiEventNotifierPrivate(QObject *parent = 0);
    35     NmApiEventNotifierPrivate(QObject *parent = NULL);
    36     virtual ~NmApiEventNotifierPrivate();
    36     virtual ~NmApiEventNotifierPrivate();
    37 
    37 
    38     void cancel();
    38     void cancel();
    39     bool isRunning() const;
    39     bool isRunning() const;
    40     bool start();
    40     bool start();
    41     void stop();
    41     void stop();
    42     void events(QList<NmApiEvent> &events);
    42     void events(QList<NmApiEvent> &events);
    43 public slots:
    43 public slots:
    44     void emailStoreEvent(const NmApiEvent &events);
    44     void emailStoreEvent(const EmailClientApi::NmApiEvent event);
    45 
    45 
    46 signals:
    46 signals:
    47     void timedOut();
    47     void timedOut();
    48 
    48 
    49 private:
    49 private: