messagingfw/biomsgfw/BIFUINC/cbifentry.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2005-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 #ifndef __CBIFENTRY_H__
       
    17 #define __CBIFENTRY_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 class TEntry;
       
    22 
       
    23 /** 
       
    24 Encapsulates information about installed BIF files.
       
    25 
       
    26 @internalTechnology
       
    27 */
       
    28 class CBifEntry : public CBase
       
    29 	{
       
    30 public:
       
    31 	IMPORT_C static CBifEntry* NewLC(const TEntry& aEntry);
       
    32 	IMPORT_C static CBifEntry* NewL(const TEntry& aEntry);
       
    33 	virtual ~CBifEntry();
       
    34 
       
    35 	IMPORT_C TBool operator==(const CBifEntry& aEntry) const; 
       
    36 
       
    37 private:
       
    38 	CBifEntry();
       
    39 	void ConstructL(const TEntry& aEntry);
       
    40 	
       
    41 public:
       
    42 	/** The size of the file in bytes. */
       
    43 	TInt iSize;
       
    44 
       
    45 	/** The system time of last modification, in universal time. */
       
    46 	TTime iModified;
       
    47 	
       
    48 	/** The name of the file relative to the owning directory. */
       
    49 	HBufC* iName;
       
    50 	};
       
    51 
       
    52 #endif //__CBIFENTRY_H__