messagingfw/msgsrvnstore/server/inc/MCLENTRY.H
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #if !defined(__MCLENTRY_H__)
       
    17 #define __MCLENTRY_H__
       
    18 
       
    19 //**********************************
       
    20 // CMsvEntry
       
    21 //**********************************
       
    22 //
       
    23 //
       
    24 //
       
    25 
       
    26 /**
       
    27 @internalComponent
       
    28 @released
       
    29 */
       
    30 enum TMsvClientEntryType {	EMsvClientNull,
       
    31 							EMsvClientContext,
       
    32 							EMsvClientChangedContext,
       
    33 							EMsvClientChild};
       
    34 
       
    35 class CMsvClientEntry : public CBase
       
    36 /**
       
    37 @internalComponent
       
    38 @released
       
    39 */
       
    40 	{
       
    41 public:
       
    42 	static CMsvClientEntry* NewLC(const TMsvEntry& aEntry, TMsvClientEntryType aType);
       
    43 	~CMsvClientEntry();
       
    44 	//
       
    45 	inline const TMsvEntry& Entry() const;
       
    46 	inline TMsvClientEntryType Type() const;
       
    47 	inline void SetType(TMsvClientEntryType aType);
       
    48 	inline void SetOwnerFlag(TBool aState);
       
    49 	inline void SetId(TMsvId id);
       
    50 	//
       
    51 private:
       
    52 	CMsvClientEntry(const TMsvEntry& aEntry, TMsvClientEntryType aType);
       
    53 	void ConstructL();
       
    54 	//
       
    55 private:
       
    56 	TMsvEntry	iEntry;
       
    57 	TMsvClientEntryType iType;
       
    58 	HBufC*		iDescription;
       
    59 	HBufC*		iDetails;
       
    60 	};
       
    61 
       
    62 #include "MCLENTRY.INL"
       
    63 
       
    64 #endif