imcvuiliterals.h File Reference

const TUid KUidconversationviewApp

const TUid KUidconversationviewApp

const TUid KUidIMCViewSoftNoteActivationId

const TUid KUidIMCViewSoftNoteActivationId

const TUid KUidConversationsView

const TUid KUidConversationsView

const TLitC8< sizeof("image/jpeg")> KMimeJpeg

const TLitC8 < sizeof("image/jpeg")> KMimeJpeg [static]

const TLitC8< sizeof("Image/gif")> KMimeGif

const TLitC8 < sizeof("Image/gif")> KMimeGif [static]

const TLitC< sizeof(L"\t")/2 > KCVTab

const TLitC < sizeof(L"\t")/2 > KCVTab [static]

const TLitC< sizeof(L"http:const static TLitC<sizeof(L"rtsp" )/2> KIMRTSP ={sizeof(L"rtsp" )/2-1,L"rtsp" };const static TLitC<sizeof(L":" )/2> KCVColon ={sizeof(L":" )/2-1,L":" };const TInt KHttpLength( 4 );const TInt KCVProtocolUidTelepathy = 0x101FB3E7;const TInt32 KCVAppId = 1;const static TLitC<sizeof(L"/" )/2> KGroupIdPart ={sizeof(L"/" )/2-1,L"/" };const TInt KSystemOperationCode = -1;const TInt KCollationLevel = 1;const static TLitC<sizeof(L"MessageID1" )/2> KMsgId ={sizeof(L"MessageID1" )/2-1,L"MessageID1" };const TInt KMaxDateStringLength = 25; const TUint16 KVersionNum( 1 );const static TLitC<sizeof(L"IMCV Engine" )/2> KIMCVUIEnginePanicCategory ={sizeof(L"IMCV Engine" )/2-1,L"IMCV Engine" };const TUid KUidConversationView = {1};#define KMAXTEXTLIMIT#define KMAXEDITORLINE#define KMAXUSERIDLENGTH#define KMAX_STATUS_LENGTHconst TUid KPhonebook2AppUid = { 0x101F4CCE };const TUid KUidIMServiceTabViewUid = {10001};const TInt KDefaultMsgLength = 400;const TInt KAMaxResourcePathLength = 512;const static TLitC<sizeof(L"\\resource\\apps\\imcvuiapp.mif" )/2> KADefaultIconFile ={sizeof(L"\\resource\\apps\\imcvuiapp.mif" )/2-1,L"\\resource\\apps\\imcvuiapp.mif" };const static TLitC8<sizeof( "xsp" )> KAppIdForBrand ={sizeof( "xsp" )-1, "xsp" };const static TLitC8<sizeof( "xsp" )> KDefaultBrandIdForBrand ={sizeof( "xsp" )-1, "xsp" };const TInt KVIMPSTUISPSMaxPropertyLength = 512;const TUid KIMCVPropertyUid = { 0x101FB3E7 };const TUint KIMCVConnectedKey = 0x00000001;enum TIMCVUiPropertyEvent { EIMCVUiEventNone = 0, EIMCVUiEventExitOnly, EIMCVUiEventLogoutExit };enum TIMCVConnectionState { EUnKnown, ELoggedOut, ELoggedIn, EForcedLoggedOut };enum TIMCVOnlineStatus { EUnknown = -1, EOffline, EOnline, EInvisible, EAway, EBusy, EOnPhone, EDoNotDisturb, EPending, EBlock, EServiceOut, ECallForward };# 22 "X:/sf/app/conversations/imstutils/imconversationview/imcvlauncher/src/imcvlauncher.cpp" 2# 1 "X:/sf/app/conversations/imstutils/imconversationview/inc/imcvlogger.h" 1#define IMCVLOGGER_H# 1 "X:/epoc32/include/platform/e32svr.h" 1#define __E32SVR_H__# 1 "X:/epoc32/include/platform/e32hal.h" 1#define __E32HAL_H__ const TInt KMaxRomDevices=8; enum TDigitizerCalibrationType { EFactory, ESaved }; class TDigitizerCalibration {public: TPoint iTl; TPoint iBl; TPoint iTr; TPoint iBr; }; enum TKeyboard { EKeyboard_Keypad=1, EKeyboard_Full=2, }; class TKeyboardInfoV01 {public: TInt iDeviceKeys; TInt iAppsKeys; TKeyboard iKeyboardType; }; typedef TPckgBuf<TKeyboardInfoV01> TKeyboardInfoV01Buf; class TDigitiserInfoV01 {public: TPoint iOffsetToDisplay; TSize iDigitiserSize; }; class TDigitiserInfoV02 : public TDigitiserInfoV01 { public : TInt iZRange; TUint8 iThetaSupported; TUint8 iPhiSupported; TUint8 iAlphaSupported; TUint8 iPressureSupported; TInt iProximityStep; TInt iMaxPressure; TInt iPressureStep; TUint8 iMaxPointers; TUint8 iNumberOfPointers; }; typedef TPckgBuf<TDigitiserInfoV01> TDigitiserInfoV01Buf; typedef TPckgBuf<TDigitiserInfoV02> TDigitiserInfoV02Buf; class TMouseInfoV01 {public: TInt iMouseButtons; TPoint iOffsetToDisplay; TSize iMouseAreaSize; }; typedef TPckgBuf<TMouseInfoV01> TMouseInfoV01Buf; class TVariantInfoV01 {public: TVersion iRomVersion; SInt64 iMachineUniqueId; TUint iLedCapabilities; TInt iProcessorClockInKHz; TInt iSpeedFactor; }; typedef TPckgBuf<TVariantInfoV01> TVariantInfoV01Buf;enum TMachineStartupType { EStartupCold,EStartupColdReset,EStartupNewOs, EStartupPowerFail,EStartupWarmReset,EStartupKernelFault, EStartupSafeReset };enum TXYInputType { EXYInputNone, EXYInputPointer, EXYInputMouse, EXYInputDeltaMouse };class TMachineInfoV1 {public: TVersion iRomVersion; TXYInputType iXYInputType; TBool iKeyboardPresent; TBool iBacklightPresent; TSize iDisplaySizeInPixels; TSize iXYInputSizeInPixels; TSize iPhysicalScreenSize; TPoint iOffsetToDisplayInPixels; TInt iKeyboardId; TInt iDisplayId; SInt64 iMachineUniqueId; TUint iLedCapabilities; TInt iProcessorClockInKHz; TInt iSpeedFactor; TInt iMaximumDisplayColors; };typedef TPckgBuf<TMachineInfoV1> TMachineInfoV1Buf;class TMachineInfoV2 : public TMachineInfoV1 {public: TInt iLanguageIndex; TInt iKeyboardIndex; };typedef TPckgBuf<TMachineInfoV2> TMachineInfoV2Buf; class TMemoryInfoV1 {public: TInt iTotalRamInBytes; TInt iTotalRomInBytes; TInt iMaxFreeRamInBytes; TInt iFreeRamInBytes; TInt iInternalDiskRamInBytes; TBool iRomIsReprogrammable; };typedef TPckgBuf<TMemoryInfoV1> TMemoryInfoV1Buf; class TRomInfoEntryV1 {public: enum TRomTypeV1 { ERomTypeRom=0, ERomTypeFlash=1 }; TInt iSize; TInt iWidth; TInt iSpeed; TRomTypeV1 iType; }; class TRomInfoV1 {public: TRomInfoEntryV1 iEntry[KMaxRomDevices]; };typedef TPckgBuf<TRomInfoV1> TRomInfoV1Buf;const TUint KRuggedFileSystem=0x01;class TDriveInfoV1 {public: TInt iTotalSupportedDrives; TInfoName iDriveName[KMaxLocalDrives]; TInt iTotalSockets; TInfoName iSocketName[KMaxPBusSockets]; TInt iRuggedFileSystem; TUint iRegisteredDriveBitmask; };typedef TPckgBuf<TDriveInfoV1> TDriveInfoV1Buf;class TDriveInfoV18 {public: TInt iTotalSupportedDrives; TBuf8<KMaxInfoName> iDriveName[KMaxLocalDrives]; TInt iTotalSockets; TBuf8<KMaxInfoName> iSocketName[KMaxPBusSockets]; TInt iRuggedFileSystem; TUint iRegisteredDriveBitmask; };typedef TPckgBuf<TDriveInfoV18> TDriveInfoV1Buf8;class TExcInfo {public: TAny *iCodeAddress; TAny *iDataAddress; TInt iExtraData; };class UserHal {public: IMPORT_C static TInt MemoryInfo(TDes8& anInfo); IMPORT_C static TInt RomInfo(TDes8& anInfo); IMPORT_C static TInt StartupReason(TMachineStartupType& aReason); IMPORT_C static TInt FaultReason(TInt &aReason); IMPORT_C static TInt ExceptionId(TInt &anId); IMPORT_C static TInt ExceptionInfo(TExcInfo &aInfo); IMPORT_C static TInt PageSizeInBytes(TInt& aSize); IMPORT_C static TInt MachineInfo(TDes8& anInfo); IMPORT_C static TInt TickPeriod(TTimeIntervalMicroSeconds32& aPeriod); IMPORT_C static TInt DriveInfo(TDes8& anInfo); IMPORT_C static TInt SwitchOff(); IMPORT_C static TInt SetXYInputCalibration(const TDigitizerCalibration& aCalibration); IMPORT_C static TInt CalibrationPoints(TDigitizerCalibration& aCalibration); IMPORT_C static TInt SaveXYInputCalibration(); IMPORT_C static TInt RestoreXYInputCalibration(TDigitizerCalibrationType aType); };# 23 "X:/epoc32/include/platform/e32svr.h" 2# 1 "X:/epoc32/include/platform/d32locd.h" 1#define __D32LOCD_H__# 1 "X:/epoc32/include/platform/partitions.h" 1#define __PARTITIONS_H__const TUint KPartitionTypeEmpty=0x00;const TUint KPartitionTypeFAT12=0x01;const TUint KPartitionTypeXENIXroot=0x02;const TUint KPartitionTypeXENIXusr=0x03;const TUint KPartitionTypeFAT16small=0x04;const TUint KPartitionTypeExtended=0x05;const TUint KPartitionTypeFAT16=0x06;const TUint KPartitionTypeNTFS=0x07;const TUint KPartitionTypeAIX=0x08;const TUint KPartitionTypeAIXboot=0x09;const TUint KPartitionTypeOS2BootManager=0x0a;const TUint KPartitionTypeWin95FAT32=0x0b;const TUint KPartitionTypeWin95FAT32LBA=0x0c;const TUint KPartitionTypeWin95FAT16LBA=0x0e;const TUint KPartitionTypeWin95ExtdLBA=0x0f;const TUint KPartitionTypeOPUS=0x10;const TUint KPartitionTypeHiddenFAT12=0x11;const TUint KPartitionTypeCompaqDiag=0x12;const TUint KPartitionTypeHiddenFAT16small=0x14;const TUint KPartitionTypeHiddenFAT16=0x16;const TUint KPartitionTypeHiddenNTFS=0x17;const TUint KPartitionTypeASTSmartSleep=0x18;const TUint KPartitionTypeHiddenWin95FAT32=0x1b;const TUint KPartitionTypeHiddenWin95FAT32LBA=0x1c;const TUint KPartitionTypeHiddenWin95FAT16LBA=0x1e;const TUint KPartitionTypeNECDOS=0x24;const TUint KPartitionTypePlan9=0x39;const TUint KPartitionTypePartitionMagic=0x3c;const TUint KPartitionTypeVenix80286=0x40;const TUint KPartitionTypePPCPRePBoot=0x41;const TUint KPartitionTypeSFS=0x42;const TUint KPartitionTypeQNX4x=0x4d;const TUint KPartitionTypeQNX4x_2=0x4e;const TUint KPartitionTypeQNX4x_3=0x4f;const TUint KPartitionTypeOnTrackDM=0x50;const TUint KPartitionTypeOnTrackDM6Aux=0x51;const TUint KPartitionTypeCPM=0x52;const TUint KPartitionTypeOnTrackDM6Aux_2=0x53;const TUint KPartitionTypeOnTrackDM6=0x54;const TUint KPartitionTypeEZDrive=0x55;const TUint KPartitionTypeGoldenBow=0x56;const TUint KPartitionTypePriamEdisk=0x5c;const TUint KPartitionTypeSpeedStor=0x61;const TUint KPartitionTypeGNU_HURD=0x63;const TUint KPartitionTypeNovellNetware=0x64;const TUint KPartitionTypeNovellNetware_2=0x65;const TUint KPartitionTypeDiskSecure=0x70;const TUint KPartitionTypePCIX=0x75;const TUint KPartitionTypeOldMinix=0x80;const TUint KPartitionTypeMinixOldLinux=0x81;const TUint KPartitionTypeLinuxSwap=0x82;const TUint KPartitionTypeLinux=0x83;const TUint KPartitionTypeOS2Hidden=0x84;const TUint KPartitionTypeLinuxExtended=0x85;const TUint KPartitionTypeNTFSvolset=0x86;const TUint KPartitionTypeNTFSvolset_2=0x87;const TUint KPartitionTypeLinuxLVM=0x8e;const TUint KPartitionTypeAmoeba=0x93;const TUint KPartitionTypeAmoebaBBT=0x94;const TUint KPartitionTypeBSD_OS=0x9f;const TUint KPartitionTypeIBMThinkpad=0xa0;const TUint KPartitionTypeFreeBSD=0xa5;const TUint KPartitionTypeOpenBSD=0xa6;const TUint KPartitionTypeNeXTSTEP=0xa7;const TUint KPartitionTypeNetBSD=0xa9;const TUint KPartitionTypeBSDIfs=0xb7;const TUint KPartitionTypeBSDIswap=0xb8;const TUint KPartitionTypeBootWizardHidden=0xbb;const TUint KPartitionTypeDRDOS=0xc1;const TUint KPartitionTypeDRDOS_2=0xc4;const TUint KPartitionTypeDRDOS_3=0xc6;const TUint KPartitionTypeSyrinx=0xc7;const TUint KPartitionTypeNonFSData=0xda;const TUint KPartitionTypeCPM_CTOS=0xdb;const TUint KPartitionTypeDellUtility=0xde;const TUint KPartitionTypeBootIt=0xdf;const TUint KPartitionTypeDOSaccess=0xe1;const TUint KPartitionTypeDOS_RO=0xe3;const TUint KPartitionTypeSymbianCrashLog=0xf0;const TUint KPartitionTypeSpeedStor_2=0xf1;const TUint KPartitionTypeDOSsecondary=0xf2;const TUint KPartitionTypeSpeedStor_3=0xf4;const TUint KPartitionTypePagedData=0xf8; const TUint KPartitionTypeROM=0xf9; const TUint KPartitionTypeRofs=0xfa; const TUint KPartitionTypeIso9660=0xfb; const TUint KPartitionTypeEneaLFFS=0xfc; const TUint KPartitionTypeLinuxRaidAuto=0xfd;const TUint KPartitionTypeLANStep=0xfe;const TUint KPartitionTypeBBT=0xff;inline TBool PartitionIsFAT(TUint a) { return ( a==KPartitionTypeFAT12 || a==KPartitionTypeFAT16small || a==KPartitionTypeFAT16 || a==KPartitionTypeFAT16 || a==KPartitionTypeWin95FAT16LBA || a==KPartitionTypeHiddenFAT12 || a==KPartitionTypeHiddenFAT16small || a==KPartitionTypeHiddenFAT16 || a==KPartitionTypeHiddenWin95FAT16LBA ); }inline TBool PartitionIsFAT32(TUint a) { return ( a==KPartitionTypeWin95FAT32 || a==KPartitionTypeWin95FAT32LBA || a==KPartitionTypeHiddenWin95FAT32 || a==KPartitionTypeHiddenWin95FAT32LBA ); }inline TBool PartitionIsNTFS(TUint a) { return ( a==KPartitionTypeNTFS || a==KPartitionTypeHiddenNTFS ); }const TUint KBootIndicatorBootable=0x80;class TMBRPartitionEntry {public: TBool IsValidPartition() { return (iNumSectors>&& iPartitionType

const TLitC < sizeof(L"http:const static TLitC <sizeof(L"rtsp" )/2> KIMRTSP ={sizeof(L"rtsp" )/2-1,L"rtsp" };const static TLitC <sizeof(L":" )/2> KCVColon ={sizeof(L":" )/2-1,L":" };const TInt KHttpLength( 4 );const TInt KCVProtocolUidTelepathy = 0x101FB3E7;const TInt32 KCVAppId = 1;const static TLitC<sizeof(L"/" )/2> KGroupIdPart ={sizeof(L"/" )/2-1,L"/" };const TInt KSystemOperationCode = -1;const TInt KCollationLevel = 1;const static TLitC<sizeof(L"MessageID1" )/2> KMsgId ={sizeof(L"MessageID1" )/2-1,L"MessageID1" };const TInt KMaxDateStringLength = 25; const TUint16 KVersionNum( 1 );const static TLitC<sizeof(L"IMCV Engine" )/2> KIMCVUIEnginePanicCategory ={sizeof(L"IMCV Engine" )/2-1,L"IMCV Engine" };const TUid KUidConversationView = {1};#define KMAXTEXTLIMIT#define KMAXEDITORLINE#define KMAXUSERIDLENGTH#define KMAX_STATUS_LENGTHconst TUid KPhonebook2AppUid = { 0x101F4CCE };const TUid KUidIMServiceTabViewUid = {10001};const TInt KDefaultMsgLength = 400;const TInt KAMaxResourcePathLength = 512;const static TLitC<sizeof(L"\\resource\\apps\\imcvuiapp.mif" )/2> KADefaultIconFile ={sizeof(L"\\resource\\apps\\imcvuiapp.mif" )/2-1,L"\\resource\\apps\\imcvuiapp.mif" };const static TLitC8<sizeof( "xsp" )> KAppIdForBrand ={sizeof( "xsp" )-1, "xsp" };const static TLitC8<sizeof( "xsp" )> KDefaultBrandIdForBrand ={sizeof( "xsp" )-1, "xsp" };const TInt KVIMPSTUISPSMaxPropertyLength = 512;const TUid KIMCVPropertyUid = { 0x101FB3E7 };const TUint KIMCVConnectedKey = 0x00000001;enum TIMCVUiPropertyEvent { EIMCVUiEventNone = 0, EIMCVUiEventExitOnly, EIMCVUiEventLogoutExit };enum TIMCVConnectionState { EUnKnown, ELoggedOut, ELoggedIn, EForcedLoggedOut };enum TIMCVOnlineStatus { EUnknown = -1, EOffline, EOnline, EInvisible, EAway, EBusy, EOnPhone, EDoNotDisturb, EPending, EBlock, EServiceOut, ECallForward };# 22 "X:/sf/app/conversations/imstutils/imconversationview/imcvlauncher/src/imcvlauncher.cpp" 2# 1 "X:/sf/app/conversations/imstutils/imconversationview/inc/imcvlogger.h" 1#define IMCVLOGGER_H# 1 "X:/epoc32/include/platform/e32svr.h" 1#define __E32SVR_H__# 1 "X:/epoc32/include/platform/e32hal.h" 1#define __E32HAL_H__ const TInt KMaxRomDevices=8; enum TDigitizerCalibrationType { EFactory, ESaved }; class TDigitizerCalibration {public: TPoint iTl; TPoint iBl; TPoint iTr; TPoint iBr; }; enum TKeyboard { EKeyboard_Keypad=1, EKeyboard_Full=2, }; class TKeyboardInfoV01 {public: TInt iDeviceKeys; TInt iAppsKeys; TKeyboard iKeyboardType; }; typedef TPckgBuf<TKeyboardInfoV01> TKeyboardInfoV01Buf; class TDigitiserInfoV01 {public: TPoint iOffsetToDisplay; TSize iDigitiserSize; }; class TDigitiserInfoV02 : public TDigitiserInfoV01 { public : TInt iZRange; TUint8 iThetaSupported; TUint8 iPhiSupported; TUint8 iAlphaSupported; TUint8 iPressureSupported; TInt iProximityStep; TInt iMaxPressure; TInt iPressureStep; TUint8 iMaxPointers; TUint8 iNumberOfPointers; }; typedef TPckgBuf<TDigitiserInfoV01> TDigitiserInfoV01Buf; typedef TPckgBuf<TDigitiserInfoV02> TDigitiserInfoV02Buf; class TMouseInfoV01 {public: TInt iMouseButtons; TPoint iOffsetToDisplay; TSize iMouseAreaSize; }; typedef TPckgBuf<TMouseInfoV01> TMouseInfoV01Buf; class TVariantInfoV01 {public: TVersion iRomVersion; SInt64 iMachineUniqueId; TUint iLedCapabilities; TInt iProcessorClockInKHz; TInt iSpeedFactor; }; typedef TPckgBuf<TVariantInfoV01> TVariantInfoV01Buf;enum TMachineStartupType { EStartupCold,EStartupColdReset,EStartupNewOs, EStartupPowerFail,EStartupWarmReset,EStartupKernelFault, EStartupSafeReset };enum TXYInputType { EXYInputNone, EXYInputPointer, EXYInputMouse, EXYInputDeltaMouse };class TMachineInfoV1 {public: TVersion iRomVersion; TXYInputType iXYInputType; TBool iKeyboardPresent; TBool iBacklightPresent; TSize iDisplaySizeInPixels; TSize iXYInputSizeInPixels; TSize iPhysicalScreenSize; TPoint iOffsetToDisplayInPixels; TInt iKeyboardId; TInt iDisplayId; SInt64 iMachineUniqueId; TUint iLedCapabilities; TInt iProcessorClockInKHz; TInt iSpeedFactor; TInt iMaximumDisplayColors; };typedef TPckgBuf<TMachineInfoV1> TMachineInfoV1Buf;class TMachineInfoV2 : public TMachineInfoV1 {public: TInt iLanguageIndex; TInt iKeyboardIndex; };typedef TPckgBuf<TMachineInfoV2> TMachineInfoV2Buf; class TMemoryInfoV1 {public: TInt iTotalRamInBytes; TInt iTotalRomInBytes; TInt iMaxFreeRamInBytes; TInt iFreeRamInBytes; TInt iInternalDiskRamInBytes; TBool iRomIsReprogrammable; };typedef TPckgBuf<TMemoryInfoV1> TMemoryInfoV1Buf; class TRomInfoEntryV1 {public: enum TRomTypeV1 { ERomTypeRom=0, ERomTypeFlash=1 }; TInt iSize; TInt iWidth; TInt iSpeed; TRomTypeV1 iType; }; class TRomInfoV1 {public: TRomInfoEntryV1 iEntry[KMaxRomDevices]; };typedef TPckgBuf<TRomInfoV1> TRomInfoV1Buf;const TUint KRuggedFileSystem=0x01;class TDriveInfoV1 {public: TInt iTotalSupportedDrives; TInfoName iDriveName[KMaxLocalDrives]; TInt iTotalSockets; TInfoName iSocketName[KMaxPBusSockets]; TInt iRuggedFileSystem; TUint iRegisteredDriveBitmask; };typedef TPckgBuf<TDriveInfoV1> TDriveInfoV1Buf;class TDriveInfoV18 {public: TInt iTotalSupportedDrives; TBuf8<KMaxInfoName> iDriveName[KMaxLocalDrives]; TInt iTotalSockets; TBuf8<KMaxInfoName> iSocketName[KMaxPBusSockets]; TInt iRuggedFileSystem; TUint iRegisteredDriveBitmask; };typedef TPckgBuf<TDriveInfoV18> TDriveInfoV1Buf8;class TExcInfo {public: TAny *iCodeAddress; TAny *iDataAddress; TInt iExtraData; };class UserHal {public: IMPORT_C static TInt MemoryInfo(TDes8& anInfo); IMPORT_C static TInt RomInfo(TDes8& anInfo); IMPORT_C static TInt StartupReason(TMachineStartupType& aReason); IMPORT_C static TInt FaultReason(TInt &aReason); IMPORT_C static TInt ExceptionId(TInt &anId); IMPORT_C static TInt ExceptionInfo(TExcInfo &aInfo); IMPORT_C static TInt PageSizeInBytes(TInt& aSize); IMPORT_C static TInt MachineInfo(TDes8& anInfo); IMPORT_C static TInt TickPeriod(TTimeIntervalMicroSeconds32& aPeriod); IMPORT_C static TInt DriveInfo(TDes8& anInfo); IMPORT_C static TInt SwitchOff(); IMPORT_C static TInt SetXYInputCalibration(const TDigitizerCalibration& aCalibration); IMPORT_C static TInt CalibrationPoints(TDigitizerCalibration& aCalibration); IMPORT_C static TInt SaveXYInputCalibration(); IMPORT_C static TInt RestoreXYInputCalibration(TDigitizerCalibrationType aType); };# 23 "X:/epoc32/include/platform/e32svr.h" 2# 1 "X:/epoc32/include/platform/d32locd.h" 1#define __D32LOCD_H__# 1 "X:/epoc32/include/platform/partitions.h" 1#define __PARTITIONS_H__const TUint KPartitionTypeEmpty=0x00;const TUint KPartitionTypeFAT12=0x01;const TUint KPartitionTypeXENIXroot=0x02;const TUint KPartitionTypeXENIXusr=0x03;const TUint KPartitionTypeFAT16small=0x04;const TUint KPartitionTypeExtended=0x05;const TUint KPartitionTypeFAT16=0x06;const TUint KPartitionTypeNTFS=0x07;const TUint KPartitionTypeAIX=0x08;const TUint KPartitionTypeAIXboot=0x09;const TUint KPartitionTypeOS2BootManager=0x0a;const TUint KPartitionTypeWin95FAT32=0x0b;const TUint KPartitionTypeWin95FAT32LBA=0x0c;const TUint KPartitionTypeWin95FAT16LBA=0x0e;const TUint KPartitionTypeWin95ExtdLBA=0x0f;const TUint KPartitionTypeOPUS=0x10;const TUint KPartitionTypeHiddenFAT12=0x11;const TUint KPartitionTypeCompaqDiag=0x12;const TUint KPartitionTypeHiddenFAT16small=0x14;const TUint KPartitionTypeHiddenFAT16=0x16;const TUint KPartitionTypeHiddenNTFS=0x17;const TUint KPartitionTypeASTSmartSleep=0x18;const TUint KPartitionTypeHiddenWin95FAT32=0x1b;const TUint KPartitionTypeHiddenWin95FAT32LBA=0x1c;const TUint KPartitionTypeHiddenWin95FAT16LBA=0x1e;const TUint KPartitionTypeNECDOS=0x24;const TUint KPartitionTypePlan9=0x39;const TUint KPartitionTypePartitionMagic=0x3c;const TUint KPartitionTypeVenix80286=0x40;const TUint KPartitionTypePPCPRePBoot=0x41;const TUint KPartitionTypeSFS=0x42;const TUint KPartitionTypeQNX4x=0x4d;const TUint KPartitionTypeQNX4x_2=0x4e;const TUint KPartitionTypeQNX4x_3=0x4f;const TUint KPartitionTypeOnTrackDM=0x50;const TUint KPartitionTypeOnTrackDM6Aux=0x51;const TUint KPartitionTypeCPM=0x52;const TUint KPartitionTypeOnTrackDM6Aux_2=0x53;const TUint KPartitionTypeOnTrackDM6=0x54;const TUint KPartitionTypeEZDrive=0x55;const TUint KPartitionTypeGoldenBow=0x56;const TUint KPartitionTypePriamEdisk=0x5c;const TUint KPartitionTypeSpeedStor=0x61;const TUint KPartitionTypeGNU_HURD=0x63;const TUint KPartitionTypeNovellNetware=0x64;const TUint KPartitionTypeNovellNetware_2=0x65;const TUint KPartitionTypeDiskSecure=0x70;const TUint KPartitionTypePCIX=0x75;const TUint KPartitionTypeOldMinix=0x80;const TUint KPartitionTypeMinixOldLinux=0x81;const TUint KPartitionTypeLinuxSwap=0x82;const TUint KPartitionTypeLinux=0x83;const TUint KPartitionTypeOS2Hidden=0x84;const TUint KPartitionTypeLinuxExtended=0x85;const TUint KPartitionTypeNTFSvolset=0x86;const TUint KPartitionTypeNTFSvolset_2=0x87;const TUint KPartitionTypeLinuxLVM=0x8e;const TUint KPartitionTypeAmoeba=0x93;const TUint KPartitionTypeAmoebaBBT=0x94;const TUint KPartitionTypeBSD_OS=0x9f;const TUint KPartitionTypeIBMThinkpad=0xa0;const TUint KPartitionTypeFreeBSD=0xa5;const TUint KPartitionTypeOpenBSD=0xa6;const TUint KPartitionTypeNeXTSTEP=0xa7;const TUint KPartitionTypeNetBSD=0xa9;const TUint KPartitionTypeBSDIfs=0xb7;const TUint KPartitionTypeBSDIswap=0xb8;const TUint KPartitionTypeBootWizardHidden=0xbb;const TUint KPartitionTypeDRDOS=0xc1;const TUint KPartitionTypeDRDOS_2=0xc4;const TUint KPartitionTypeDRDOS_3=0xc6;const TUint KPartitionTypeSyrinx=0xc7;const TUint KPartitionTypeNonFSData=0xda;const TUint KPartitionTypeCPM_CTOS=0xdb;const TUint KPartitionTypeDellUtility=0xde;const TUint KPartitionTypeBootIt=0xdf;const TUint KPartitionTypeDOSaccess=0xe1;const TUint KPartitionTypeDOS_RO=0xe3;const TUint KPartitionTypeSymbianCrashLog=0xf0;const TUint KPartitionTypeSpeedStor_2=0xf1;const TUint KPartitionTypeDOSsecondary=0xf2;const TUint KPartitionTypeSpeedStor_3=0xf4;const TUint KPartitionTypePagedData=0xf8; const TUint KPartitionTypeROM=0xf9; const TUint KPartitionTypeRofs=0xfa; const TUint KPartitionTypeIso9660=0xfb; const TUint KPartitionTypeEneaLFFS=0xfc; const TUint KPartitionTypeLinuxRaidAuto=0xfd;const TUint KPartitionTypeLANStep=0xfe;const TUint KPartitionTypeBBT=0xff;inline TBool PartitionIsFAT(TUint a) { return ( a==KPartitionTypeFAT12 || a==KPartitionTypeFAT16small || a==KPartitionTypeFAT16 || a==KPartitionTypeFAT16 || a==KPartitionTypeWin95FAT16LBA || a==KPartitionTypeHiddenFAT12 || a==KPartitionTypeHiddenFAT16small || a==KPartitionTypeHiddenFAT16 || a==KPartitionTypeHiddenWin95FAT16LBA ); }inline TBool PartitionIsFAT32(TUint a) { return ( a==KPartitionTypeWin95FAT32 || a==KPartitionTypeWin95FAT32LBA || a==KPartitionTypeHiddenWin95FAT32 || a==KPartitionTypeHiddenWin95FAT32LBA ); }inline TBool PartitionIsNTFS(TUint a) { return ( a==KPartitionTypeNTFS || a==KPartitionTypeHiddenNTFS ); }const TUint KBootIndicatorBootable=0x80;class TMBRPartitionEntry {public: TBool IsValidPartition() { return (iNumSectors>&& iPartitionType [static]

TUint8 iX86BootIndicator

TUint8 iX86BootIndicator

TUint8 iStartHead

TUint8 iStartHead

TUint8 iStartSector

TUint8 iStartSector

TUint8 iStartCylinder

TUint8 iStartCylinder

TUint8 iEndHead

TUint8 iEndHead

TUint8 iEndSector

TUint8 iEndSector

TUint8 iEndCylinder

TUint8 iEndCylinder

TUint32 iFirstSector

TUint32 iFirstSector

TUint32 iNumSectors

TUint32 iNumSectors

const TUint KMBRFirstPartitionOffset

const TUint KMBRFirstPartitionOffset

const TUint KMBRSignatureOffset

const TUint KMBRSignatureOffset

const TUint KMBRSignature

const TUint KMBRSignature

const TInt KMBRMaxPrimaryPartitions

const TInt KMBRMaxPrimaryPartitions