toolsandutils/e32tools/rombuild/r_mromimage.h
changeset 0 83f4b4db085c
child 1 d4b442d23379
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 // Copyright (c) 2008-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 __R_MROMIMAGE_H__
       
    17 #define __R_MROMIMAGE_H__
       
    18 
       
    19 class TRomNode;
       
    20 
       
    21 /**
       
    22 class MRomImage
       
    23 MRofsImage is the interface used to access information held within an Core ROM image.
       
    24 This interface used to remove the dependency between processing of 
       
    25 extensions and kernel commands in the obey file
       
    26 
       
    27 @internalComponent
       
    28 @released
       
    29 */
       
    30 class MRomImage
       
    31 {
       
    32 public:
       
    33 	virtual TRomNode* RootDirectory() = 0;
       
    34 	virtual TRomNode* CopyDirectory(TRomNode*& aSourceDirectory)=0;
       
    35 	virtual TText* RomFileName() = 0;
       
    36 	virtual TUint32 RomBase() = 0;
       
    37 	virtual TUint32 RomSize() = 0;
       
    38 	virtual TVersion Version() = 0;
       
    39 	virtual TInt64 Time() = 0;
       
    40 	virtual TUint32 CheckSum() = 0;
       
    41 	virtual TUint32 DataRunAddress() = 0;
       
    42 	virtual TUint32 RomAlign() = 0;
       
    43 
       
    44 	virtual ~MRomImage() { };
       
    45 };
       
    46 
       
    47 #endif //__R_MROMIMAGE_H__