emailservices/emailframework/inc/MFSMailBoxSearchObserver.h
changeset 0 8466d47a6819
child 2 5253a20d2a1e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/emailframework/inc/MFSMailBoxSearchObserver.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 EMail Framework mailbox search API observer
+*
+*/
+
+
+#ifndef MFSMAILBOXSEARCHOBSERVER_H
+#define MFSMAILBOXSEARCHOBSERVER_H
+
+//  INCLUDES
+#include <e32base.h>
+
+//<cmail>
+#include "cfsmailmessage.h"
+//</cmail>
+
+/**
+ * Freestyle email framework search API observer
+ *
+ */
+class MFSMailBoxSearchObserver
+    {
+ public:
+
+   /** 
+    * Notifies the email search API client that a match has been found
+    * 
+    * @param aMatchMessage contains a pointer to the matched message.
+    *         Ownership is transfered to the observer.
+    *
+    */
+    virtual void MatchFoundL( CFSMailMessage* aMatchMessage ) = 0;
+
+   /**
+    * Notifies the email search API client that the search has completed
+	*
+	*/
+    virtual void SearchCompletedL() = 0;
+      
+    };
+
+#endif  // MFSMAILBOXSEARCHOBSERVER_H
+
+// End of File