secureswitools/swianalysistoolkit/source/dumpswiregistrytool/siscontrollerinfo.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 __SISCONTROLLERINFO_H__
       
    25 #define __SISCONTROLLERINFO_H__
       
    26 #pragma warning( disable : 4786) 
       
    27 
       
    28 #include "streamreader.h"
       
    29 #include "dumpswiregistrytool.h"
       
    30 #include "registrytoken.h"
       
    31 #include <map>
       
    32 #include <vector>
       
    33 
       
    34 class StreamReader;
       
    35 
       
    36 /**
       
    37  * The SISControllerInfo class extracts the sis contoller information (major,minor version and algorithm)and 
       
    38  * displays the the same .
       
    39  * @internalComponent 
       
    40  */
       
    41 class SISControllerInfo
       
    42 {
       
    43 public:
       
    44 
       
    45     SISControllerInfo();
       
    46 
       
    47 	~SISControllerInfo();
       
    48 	
       
    49 	/**
       
    50 	   Extracts the SISContoller information (Major , Minor version and Algorithm).
       
    51 	 */
       
    52 	void ExtractControllerInfo(StreamReader& aReader);
       
    53 
       
    54 	/**
       
    55 	   Displays the SISContoller information (Major , Minor version and Algorithm).
       
    56 	 */
       
    57 	void DisplayControllerInfo(int);  
       
    58 
       
    59 private:
       
    60 
       
    61 	unsigned int iMajor;
       
    62 	unsigned int iMinor;
       
    63 	unsigned int iBuild;
       
    64 	unsigned int iOffset;
       
    65 	unsigned int iAlgorithmType ;
       
    66 	map<int,string> iAlgorithms;
       
    67 	
       
    68 };
       
    69 
       
    70 #endif;