diff -r b183ec05bd8c -r 19bba8228ff0 devicediagnosticsfw/diagresultsdb/common/diagresultsdbprivatecrkeys.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/devicediagnosticsfw/diagresultsdb/common/diagresultsdbprivatecrkeys.h Wed Sep 01 12:27:42 2010 +0100 @@ -0,0 +1,53 @@ +/* +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "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: Private Central Repository keys. +* +*/ + + +#ifndef DIAGRESULTSDBPRIVATECRKEYS_H +#define DIAGRESULTSDBPRIVATECRKEYS_H + +// INCLUDES + +#include + +// ============================================================================= +// Diagnostics Results DB +// ============================================================================= + +const TUid KCRUidDiagnosticsResults = { 0x2000B45D }; + +/** +* The maximum number of test records inside each DB file. +**/ +const TUint32 KDiagDatabaseMaxRecordCount = 0x00000001; + +/** +* The maximum file size for DB file in bytes. +**/ +const TUint32 KDiagDatabaseMaxFileSize = 0x00000002; + +/** +* The value indicates which deletion algorithm the DB uses. The First alternative +* deletes test records when max record count is exceeded (0). The other uses a buffer +* to store last results (1) and keeps the max record count. +**/ +const TUint32 KDiagDatabaseDeletionAlgorithm = 0x00000003; + + +#endif // DIAGRESULTSDBPRIVATECRKEYS_H + +// End of File +