emailservices/emailstore/message_store/client/inc/MsgStoreSessionContext.h
changeset 0 8466d47a6819
child 8 e1b6206813b4
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Message store session context.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef _MSG_STORE_SESSION_CONTEXT_H_
       
    21 #define _MSG_STORE_SESSION_CONTEXT_H_
       
    22 
       
    23 //<cmail>
       
    24 #include "MsgStoreTypes.h"
       
    25 #include "DebugLogMacros.h"
       
    26 //</cmail>
       
    27 #include "RMessageStoreSession.h"
       
    28 
       
    29 class CMsgStoreObserverHandler;
       
    30 class CMsgStoreSearchHandler;
       
    31 class MMsgStoreSearchClient;
       
    32 
       
    33 // ==============================
       
    34 // CLASS: CMsgStoreSessionContext
       
    35 // NOTE: this is an internal class.
       
    36 // ==============================
       
    37 class CMsgStoreSessionContext : public CBase
       
    38 	{
       
    39 	public:
       
    40 	
       
    41 	    // ==============
       
    42 	    // PUBLIC METHODS
       
    43 	    // ==============
       
    44 	    
       
    45 	    CMsgStoreSessionContext();
       
    46 	    
       
    47 	    ~CMsgStoreSessionContext();
       
    48 
       
    49         void VerifyTypeL( TMsgStoreId aId, TMsgStoreId aType );
       
    50         
       
    51         void VerifyTypeL( TMsgStoreId aId, TMsgStoreId aType1, TMsgStoreId aType2 );
       
    52         
       
    53 	    // =================
       
    54 	    // PUBLIC ATTRIBUTES
       
    55 	    // =================
       
    56 	    
       
    57     	RMessageStoreSession      iSession; 
       
    58     	CMsgStoreObserverHandler* iObserverHandler;
       
    59     	CMsgStoreSearchHandler*   iSearchHandler;
       
    60     	MMsgStoreSearchClient*    iSearchClient;
       
    61     	
       
    62     	__LOG_DECLARATION
       
    63     	
       
    64 	}; // end class oreSessionContext 	
       
    65 
       
    66 #endif  //_MSG_STORE_SESSION_CONTEXT_H_