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