imgtools/romtools/rofsbuild/r_obey.h
changeset 654 7c11c3d8d025
parent 647 53d1ab72f5bc
equal deleted inserted replaced
653:8ee61c1e0c5c 654:7c11c3d8d025
    73 	EKeywordDataPagingOverride,
    73 	EKeywordDataPagingOverride,
    74 	// Added to support data drive images.
    74 	// Added to support data drive images.
    75 	EKeywordDataImageName,    
    75 	EKeywordDataImageName,    
    76 	EKeywordDataImageFileSystem, 
    76 	EKeywordDataImageFileSystem, 
    77 	EKeywordDataImageSize,
    77 	EKeywordDataImageSize,
       
    78 	EKeywordDataImageVolumeID,
    78 	EKeywordDataImageVolume,
    79 	EKeywordDataImageVolume,
    79 	EKeywordDataImageSectorSize,
    80 	EKeywordDataImageSectorSize,
    80 	EKeywordDataImageClusterSize,
    81 	EKeywordDataImageClusterSize,
    81 	EKeywordDataImageNoOfFats,
    82 	EKeywordDataImageNoOfFats,
    82 	EKeywordSmrImageName,
    83 	EKeywordSmrImageName,
   156 	TInt CurrentLine() const { return iCurrentLine;}				// number of words on current line
   157 	TInt CurrentLine() const { return iCurrentLine;}				// number of words on current line
   157 	const char* GetCurrentObeyStatement() const {return iCurrentObeyStatement;}						// return current obey statement
   158 	const char* GetCurrentObeyStatement() const {return iCurrentObeyStatement;}						// return current obey statement
   158 
   159 
   159 	void ProcessTime(TInt64& aTime);
   160 	void ProcessTime(TInt64& aTime);
   160 	static void TimeNow(TInt64& aTime);
   161 	static void TimeNow(TInt64& aTime);
   161 private:
       
   162 	TInt ReadAndParseLine(); 
       
   163 	TInt Parse();
       
   164 	inline static TBool IsGap(char ch) {
   162 	inline static TBool IsGap(char ch) {
   165 		return (ch==' ' || ch=='=' || ch=='\t');
   163 		return (ch==' ' || ch=='=' || ch=='\t');
   166 	}
   164 	}
       
   165 private:
       
   166 	TInt ReadAndParseLine(); 
       
   167 	TInt Parse();
   167 
   168 
   168 	static const ObeyFileKeyword iKeywords[];
   169 	static const ObeyFileKeyword iKeywords[];
   169 	static const FileAttributeKeyword iAttributeKeywords[];
   170 	static const FileAttributeKeyword iAttributeKeywords[];
   170 	static TInt64 iTimeNow;
   171 	static TInt64 iTimeNow;
   171 
   172