1 // Copyright (c) 2006-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
20 @deprecated since v9.1. Functionality is replaced with commsdat.
23 #ifndef __CDBSTORE_H__
24 #define __CDBSTORE_H__
29 class CStoreableOverrideSettings : public CCommDbOverrideSettings
31 Creates override settings for the columns of specific tables, and stores and
32 retrieves the override sets to and from both streams and buffers.
34 The buffer is a convenient way of passing this information across thread or
37 The CCommDbOverrideSettings base class provides the member functions for setting
38 and fetching override values.
40 Overrides are deprecated from v9.1
44 IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList);
45 IMPORT_C ~CStoreableOverrideSettings();
47 IMPORT_C void InternalizeL(RReadStream& aStream);
48 IMPORT_C void RestoreL(HBufC8* aBuf);
49 IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
50 IMPORT_C CBufFlat* StoreLC();
51 inline CBufStore* GetStore() const;
53 IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList, TCommDbDatabaseType aDbType);
56 CStoreableOverrideSettings(TParamList aParamList);
57 virtual void ConstructL();
59 /** @deprecated in v7.0. There is no need for this store */
63 #include <cdbstore.inl>