epoc32/include/cdbstore.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 
    17 
    18 /**
    19  @file
    20  @deprecated since v9.1. Functionality is replaced with commsdat.
    21 */
    22 
    23 #ifndef __CDBSTORE_H__
    24 #define __CDBSTORE_H__
    25 
    26 #include <s32mem.h>
    27 #include <cdbover.h>
    28 
    29 class CStoreableOverrideSettings : public CCommDbOverrideSettings
    30 /**
    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.
    33 
    34 The buffer is a convenient way of passing this information across thread or 
    35 process boundaries.
    36 
    37 The CCommDbOverrideSettings base class provides the member functions for setting 
    38 and fetching override values. 
    39 @deprecated
    40 	Overrides are deprecated from v9.1
    41 */
    42 	{
    43 public:
    44 	IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList);
    45 	IMPORT_C ~CStoreableOverrideSettings();
    46 
    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;
    52 
    53 	IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList, TCommDbDatabaseType aDbType);
    54 
    55 protected:
    56 	CStoreableOverrideSettings(TParamList aParamList);
    57 	virtual void ConstructL();
    58 private:
    59 	/** @deprecated in v7.0. There is no need for this store */
    60 	CBufStore* iStore;
    61 	};
    62 
    63 #include <cdbstore.inl>
    64 
    65 #endif