diff -r 000000000000 -r ba25891c3a9e secureswitools/swisistools/source/interpretsislib/dbconstants.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/secureswitools/swisistools/source/interpretsislib/dbconstants.cpp Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,104 @@ +/* +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#include "dbconstants.h" +#include + +using namespace DbConstants; + +std::string DbConstants::ComponentUid = "CompUid"; + +std::wstring DbConstants::CompInstallType = L"CompInstallType"; +std::wstring DbConstants::CompDependencyPackageCount = L"CompDependencyPackageCount"; +std::wstring DbConstants::CompDependencyComponentId = L"CompDependencyComponentId"; +std::wstring DbConstants::CompDependencyFromVersion = L"CompDependencyFromVersion"; +std::wstring DbConstants::CompDependencyToVersion = L"CompDependencyToVersion"; +std::wstring DbConstants::CompEmbeddedPackagePresent = L"CompEmbeddedPackagePresent"; +std::wstring DbConstants::CompEmbeddedPackageCount = L"CompEmbeddedPackageCount"; +std::wstring DbConstants::CompEmbeddedPackageUid = L"CompEmbeddedPackageUid"; +std::wstring DbConstants::CompEmbeddedPackageName = L"CompEmbeddedPackageName"; +std::wstring DbConstants::CompEmbeddedPackageVendor = L"CompEmbeddedPackageVendor"; +std::wstring DbConstants::CompEmbeddedPackageIndex = L"CompEmbeddedPackageIndex"; +std::wstring DbConstants::CompPropertyCount = L"CompPropertyCount"; +std::wstring DbConstants::CompPropertyKey = L"CompPropertyKey"; +std::wstring DbConstants::CompPropertyValue = L"CompPropertyValue"; + +// file description - component property +std::wstring DbConstants::WCFileName = L"WCFileName"; +std::wstring DbConstants::WCFileMimeType = L"WCFileMimeType"; +std::wstring DbConstants::WCFileSisFileOperation = L"WCFileSisFileOperation"; +std::wstring DbConstants::WCFileFileOperationOptions = L"WCFileFileOperationOptions"; +std::wstring DbConstants::WCFileUncompressedLength = L"WCFileUncompressedLength"; +std::wstring DbConstants::WCFileIndex = L"WCFileIndex"; +std::wstring DbConstants::WCFileSid = L"WCFileSid"; +std::wstring DbConstants::WCFileHashAlgorithm = L"WCFileHashAlgorithm"; +std::wstring DbConstants::WCFileHashData = L"WCFileHashData"; + +// file description - file property +std::wstring DbConstants::FileMimeType = L"FileMimeType"; +std::wstring DbConstants::FileSisFileOperation = L"FileSisFileOperation"; +std::wstring DbConstants::FileFileOperationOptions = L"FileFileOperationOptions"; +std::wstring DbConstants::FileUncompressedLength = L"FileUncompressedLength"; +std::wstring DbConstants::FileIndex = L"FileIndex"; +std::wstring DbConstants::FileSid = L"FileSid"; +std::wstring DbConstants::FileHashAlgorithm = L"FileHashAlgorithm"; +std::wstring DbConstants::FileHashData = L"FileHashData"; + +// file description properties +std::wstring DbConstants::CompWildCardFileCount = L"CompWildCardFileCount"; +std::wstring DbConstants::CompSidFileName = L"CompSidFileName"; + +// inROM +std::wstring DbConstants::CompInRom = L"CompInRom"; +std::wstring DbConstants::CompIsSigned = L"CompIsSigned"; +std::wstring DbConstants::CompSignedBySuCert = L"CompSignedBySuCert"; +std::wstring DbConstants::CompDeletablePreinstalled = L"CompDeletablePreinstalled"; +std::wstring DbConstants::CompTrust = L"CompTrust"; +std::wstring DbConstants::CompIsRemoveWithLastDependent = L"CompIsRemoveWithLastDependent"; +std::wstring DbConstants::CompTrustTimeStamp = L"CompTrustTimeStamp"; + +// trust status +std::wstring DbConstants::CompTrustValidationStatus = L"CompTrustValidationStatus"; +std::wstring DbConstants::CompTrustRevocationStatus = L"CompTrustRevocationStatus"; +std::wstring DbConstants::CompTrustResultDate = L"CompTrustResultDate"; +std::wstring DbConstants::CompTrustLastCheckDate = L"CompTrustLastCheckDate"; +std::wstring DbConstants::CompTrustIsQuarantined = L"CompTrustIsQuarantined"; +std::wstring DbConstants::CompTrustQuarantinedDate = L"CompTrustQuarantinedDate"; + +// InstallChainIndices +std::wstring DbConstants::CompInstallChainIndexCount = L"CompInstallChainIndexCount"; +std::wstring DbConstants::CompInstallChainIndex = L"CompInstallChainIndex"; + +// SisRegistryPackage +std::wstring DbConstants::CompSidCount = L"CompSidCount"; +std::wstring DbConstants::CompSidsPresent = L"CompSidsPresent"; +std::wstring DbConstants::CompSid = L"CompSid"; + +// ControllerInfo +std::wstring DbConstants::CompControllerCount = L"CompControllerCount"; +std::wstring DbConstants::CompControllerVersion = L"CompControllerVersion"; +std::wstring DbConstants::CompControllerOffset = L"CompControllerOffset"; +std::wstring DbConstants::CompControllerHashAlgorithm = L"CompControllerHashAlgorithm"; +std::wstring DbConstants::CompControllerHashData = L"CompControllerHashData"; + +std::wstring DbConstants::CompLanguage = L"CompLanguage"; +std::wstring DbConstants::CompSelectedDrive = L"CompSelectedDrive"; + +std::wstring DbConstants::CompUniqueVendorName = L"CompUniqueVendorName"; +std::wstring DbConstants::CompUid = L"CompUid"; +std::wstring DbConstants::CompIndex = L"CompIndex";