secureswitools/swianalysistoolkit/source/dumpswiregistrytool/sisfiledescription.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2005-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 /**
       
    20  @file 
       
    21  @internalComponent 
       
    22 */
       
    23 
       
    24 #ifndef __SISFILEDESCRIPTION_H__
       
    25 #define __SISFILEDESCRIPTION_H__
       
    26 #pragma warning( disable : 4786) 
       
    27 
       
    28 #include "streamreader.h"
       
    29 #include <algorithm>
       
    30 #include <map>
       
    31 #include <string>
       
    32 
       
    33 class StreamReader;
       
    34 
       
    35 /**
       
    36  * The SISFileDescription class extracts the information of the files in the SISX package.
       
    37  * @internalComponent 
       
    38  */
       
    39 
       
    40 class SISFileDescription
       
    41 {
       
    42 public:
       
    43 
       
    44     SISFileDescription();
       
    45 
       
    46 	~SISFileDescription();
       
    47 
       
    48 	/**
       
    49 	   Extracts the information of the files in the SISX package.
       
    50 	 */
       
    51 	void ExtractSISFileDescription(StreamReader& aReader);
       
    52 
       
    53 	/**
       
    54 	   Displays the information of the files in the SISX package.
       
    55 	 */
       
    56 	void DisplaySISFileDescription(int);
       
    57 
       
    58 private:
       
    59 
       
    60 	char* iTarget;
       
    61 	char* iMimeType;
       
    62 	unsigned int iOperation;
       
    63 	unsigned int iOperationOptions;
       
    64 	unsigned int iAlgorithm;
       
    65 	char* iHash;
       
    66 	unsigned int iUncompressedLengthl;
       
    67 	unsigned int iUncompressedLengthh;
       
    68 	int iIndex;
       
    69 	unsigned int iSid;
       
    70 	map<int, string> iAlgorithms;
       
    71 };
       
    72 
       
    73 #endif
       
    74