diff -r bf7eb7911fc5 -r 997a02608b3a emailservices/nmclientapi/inc/nmapieventnotifier_p.h --- a/emailservices/nmclientapi/inc/nmapieventnotifier_p.h Wed Jun 23 18:00:21 2010 +0300 +++ b/emailservices/nmclientapi/inc/nmapieventnotifier_p.h Tue Jul 06 14:04:34 2010 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). + * Copyright (c) 2009 - 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -18,6 +18,7 @@ #ifndef NMAPIEVENTNOTIFIERPRIVATE_H #define NMAPIEVENTNOTIFIERPRIVATE_H +#include #include "nmapiprivateclasses.h" #include @@ -34,18 +35,22 @@ NmApiEventNotifierPrivate(QObject *parent = 0); virtual ~NmApiEventNotifierPrivate(); - bool initializeEngine(); - void releaseEngine(); void cancel(); - + bool isRunning() const; + bool start(); + void stop(); + void events(QList &events); public slots: void emailStoreEvent(const NmApiMessage &events); -public: +signals: + void timedOut(); + +private: QTimer *mEmitSignals; NmApiEngine *mEngine; + bool mIsRunning; QList mBufferOfEvents; - bool mIsRunning; }; }