Update contrib.
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // DBMS Security - Common strings - used only in DbSpConv sources
18 #ifndef __SC_STRINGS_H__
19 #define __SC_STRINGS_H__
24 #define CONST_LIT8(var, val) extern const TLitC8<sizeof(val)> var = {sizeof(val) - 1, val}
25 #define CONST_LIT16(var, val) extern const TLitC16<sizeof(L##val)/2> var = {sizeof(L##val)/2 - 1, L##val}
26 #define CONST_TTEXT(var, val) extern const TText var = val
28 #define CONST_LIT8(var, val) extern const TLitC8<sizeof(val)> var
29 #define CONST_LIT16(var, val) extern const TLitC16<sizeof(L##val)/2> var
30 #define CONST_TTEXT(var, val) extern const TText var
34 #define CONST_LIT(var, val) CONST_LIT16(var, val)
36 #define CONST_LIT(var, val) CONST_LIT8(var, val)
39 CONST_LIT(KCrLf, "\r\n");
40 CONST_LIT(KDbStr, "[DATABASE]");
41 CONST_LIT(KTblStr, "[TABLE]");
42 CONST_LIT(KBackupStr, "[BACKUP]");
43 CONST_LIT(KNameStr, "NAME");
44 CONST_LIT(KEqStr, "=");
45 CONST_LIT(KSemiColonStr, ";");
47 CONST_LIT(KReadStr, "READ");
48 CONST_LIT(KWriteStr, "WRITE");
49 CONST_LIT(KSchemaStr, "SCHEMA");
51 CONST_LIT(KCapabilityStr, "CAPABILITY");
52 CONST_LIT(KSIDStr, "SID");
53 CONST_LIT(KVIDStr, "VID");
55 #endif//__SC_STRINGS_H__