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 - Common strings
18 #ifndef __D32STRINGS_H__
19 #define __D32STRINGS_H__
22 #define CONST_LIT8(var, val) extern const TLitC8<sizeof(val)> var = {sizeof(val) - 1, val}
23 #define CONST_LIT16(var, val) extern const TLitC16<sizeof(L##val)/2> var = {sizeof(L##val)/2 - 1, L##val}
24 #define CONST_TTEXT(var, val) extern const TText var = val
26 #define CONST_LIT8(var, val) extern const TLitC8<sizeof(val)> var
27 #define CONST_LIT16(var, val) extern const TLitC16<sizeof(L##val)/2> var
28 #define CONST_TTEXT(var, val) extern const TText var
32 #define CONST_LIT(var, val) CONST_LIT16(var, val)
34 #define CONST_LIT(var, val) CONST_LIT8(var, val)
37 CONST_LIT(KSecure, "SECURE");
38 CONST_LIT(KDbsPrefix, "DBS");
39 CONST_LIT(KSecurityPolicyDir,"POLICY\\");
40 CONST_LIT(KPolicyFileExtMask,"*.SPD");
42 #endif//__D32STRINGS_H__