diff -r 000000000000 -r 8466d47a6819 emailservices/emailframework/inc/MFSMailBoxSearchObserver.h --- /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 + +// +#include "cfsmailmessage.h" +// + +/** + * 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