imgtools/imglib/filesystem/include/fat16bootsector.h
changeset 2 39c28ec933dd
equal deleted inserted replaced
1:820b22e13ff1 2:39c28ec933dd
       
     1 /*
       
     2 * Copyright (c) 2006-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 * FAT16 boot sector Class for FileSystem component
       
    16 * @internalComponent
       
    17 * @released
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef FAT16BOOTSECTOR_H
       
    23 #define FAT16BOOTSECTOR_H
       
    24 
       
    25 #include "fatbasebootsector.h"
       
    26 
       
    27 /**
       
    28 Class representing Boot Sector of FAT16 types of fat volume.
       
    29 
       
    30 @internalComponent
       
    31 @released
       
    32 */
       
    33 class TFAT16BootSector : public TFATBaseBootSector
       
    34 {
       
    35 
       
    36 public:
       
    37 	TFAT16BootSector();
       
    38 	~TFAT16BootSector();
       
    39 	unsigned char* FileSysType();
       
    40 	void SetFileSysType();
       
    41 	void SetRootDirEntries();
       
    42 	void SetReservedSectors();
       
    43 	void ComputeSectorsPerCluster(Long64 aPartitionSize);
       
    44 	void ComputeFatSectors(Long64 aPartitionSize);
       
    45 };
       
    46 
       
    47 #endif //FAT16BOOTSECTOR_H
       
    48