emailuis/nmframeworkadapter/inc/nmmailboxsearchobserver.h
branchRCL_3
changeset 63 d189ee25cf9d
equal deleted inserted replaced
61:dcf0eedfc1a3 63:d189ee25cf9d
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef NMMAILBOXSEARCHOBSERVER_H_
       
    19 #define NMMAILBOXSEARCHOBSERVER_H_
       
    20 
       
    21 #include <QObject>
       
    22 #include <MFSMailBoxSearchObserver.h>
       
    23 
       
    24 class NmId;
       
    25 
       
    26 
       
    27 class NmMailboxSearchObserver : public QObject,
       
    28                                 public MFSMailBoxSearchObserver
       
    29 {
       
    30     Q_OBJECT
       
    31 
       
    32 public:
       
    33 
       
    34     NmMailboxSearchObserver();
       
    35 
       
    36     ~NmMailboxSearchObserver();
       
    37 
       
    38 
       
    39 public: // From MFSMailboxSearchObserver
       
    40 
       
    41     void MatchFoundL(CFSMailMessage *aMatchMessage);
       
    42 
       
    43     void SearchCompletedL();
       
    44 
       
    45     void ClientRequiredSearchPriority(TInt *apRequiredSearchPriority); 
       
    46     
       
    47     
       
    48 signals:
       
    49 
       
    50     void matchFound(const NmId &messageId, const NmId &folderId);
       
    51 
       
    52     void searchComplete();
       
    53 };
       
    54 
       
    55 
       
    56 #endif /* NMMAILBOXSEARCHOBSERVER_H_ */
       
    57 
       
    58 // End of file.