--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/emailframework/inc/MFSMailEventObserver.h Thu Dec 17 08:39:21 2009 +0200
@@ -0,0 +1,56 @@
+/*
+* Copyright (c) 2007-2008 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: defines framework event observer
+*
+*/
+
+
+#ifndef MFSMAILEVENTOBSERVER_H
+#define MFSMAILEVENTOBSERVER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+//<cmail>
+#include "cfsmailcommon.h"
+//</cmail>
+
+/**
+ * email framework event observer
+ *
+ * @lib FSFWCommonLib
+ * @since S60 v3.1
+ */
+ class MFSMailEventObserver
+ {
+ public:
+
+ /**
+ * event from plugin
+ *
+ * @param aEvent one of pre-defined events in TFSMailEvent
+ * @param aMailbox maibox related for this event
+ * note : if mailbox id is null id, event is plugin level ie. corcerns all
+ * mailboxes
+ * @param aParam1 intepretation is event specific (see TFSMailEvent descriptions)
+ * @param aParam2 intepretation is event specific (see TFSMailEvent descriptions)
+ * @param aParam3 intepretation is event specific (see TFSMailEvent descriptions)
+ */
+ virtual void EventL(TFSMailEvent aEvent, TFSMailMsgId aMailbox, TAny* aParam1, TAny* aParam2, TAny* aParam3) = 0;
+
+ };
+
+#endif // MFSMAILEVENTOBSERVER_H
+
+// End of File