diff -r 4697dfb2d7ad -r 238255e8b033 messagingapp/msgutils/unidatamodel/unimmsdataplugin/inc/sessioneventhandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingapp/msgutils/unidatamodel/unimmsdataplugin/inc/sessioneventhandler.h Fri Apr 16 14:56:15 2010 +0300 @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2009 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" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: MMS data model plugin. + * + */ + +#ifndef UNIMMSDATAPLUGIN_SH_H_ +#define UNIMMSDATAPLUGIN_SH_H_ + +#include +#include + +#include + + +class SessionEventHandler : public QThread, +public MMsvSessionObserver +{ + Q_OBJECT +public: + SessionEventHandler(QThread* parent=0); + ~SessionEventHandler(); + +public: + + /** + * @see MMsvSessionObserver + */ + void HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, + TAny* aArg3); + +private: + void run(); + +}; + +#endif /* UNIMMSDATAPLUGIN_SH_H_ */