|
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 "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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @deprecated since v9.1. Functionality is replaced with commsdat. |
|
19 */ |
|
20 |
|
21 #ifndef __CDBSTORE_H__ |
|
22 #define __CDBSTORE_H__ |
|
23 |
|
24 #include <s32mem.h> |
|
25 #include <cdbover.h> |
|
26 |
|
27 class CStoreableOverrideSettings : public CCommDbOverrideSettings |
|
28 /** |
|
29 Creates override settings for the columns of specific tables, and stores and |
|
30 retrieves the override sets to and from both streams and buffers. |
|
31 |
|
32 The buffer is a convenient way of passing this information across thread or |
|
33 process boundaries. |
|
34 |
|
35 The CCommDbOverrideSettings base class provides the member functions for setting |
|
36 and fetching override values. |
|
37 @deprecated |
|
38 Overrides are deprecated from v9.1 |
|
39 */ |
|
40 { |
|
41 public: |
|
42 IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList); |
|
43 IMPORT_C ~CStoreableOverrideSettings(); |
|
44 |
|
45 IMPORT_C void InternalizeL(RReadStream& aStream); |
|
46 IMPORT_C void RestoreL(HBufC8* aBuf); |
|
47 IMPORT_C void ExternalizeL(RWriteStream& aStream) const; |
|
48 IMPORT_C CBufFlat* StoreLC(); |
|
49 inline CBufStore* GetStore() const; |
|
50 |
|
51 IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList, TCommDbDatabaseType aDbType); |
|
52 |
|
53 protected: |
|
54 CStoreableOverrideSettings(TParamList aParamList); |
|
55 virtual void ConstructL(); |
|
56 private: |
|
57 /** @deprecated in v7.0. There is no need for this store */ |
|
58 CBufStore* iStore; |
|
59 }; |
|
60 |
|
61 #include <cdbstore.inl> |
|
62 |
|
63 #endif |