epoc32/include/cdbstore.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/cdbstore.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/cdbstore.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,65 @@
     1.4 -cdbstore.h
     1.5 +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +//
    1.19 +
    1.20 +
    1.21 +
    1.22 +/**
    1.23 + @file
    1.24 + @deprecated since v9.1. Functionality is replaced with commsdat.
    1.25 +*/
    1.26 +
    1.27 +#ifndef __CDBSTORE_H__
    1.28 +#define __CDBSTORE_H__
    1.29 +
    1.30 +#include <s32mem.h>
    1.31 +#include <cdbover.h>
    1.32 +
    1.33 +class CStoreableOverrideSettings : public CCommDbOverrideSettings
    1.34 +/**
    1.35 +Creates override settings for the columns of specific tables, and stores and
    1.36 +retrieves the override sets to and from both streams and buffers.
    1.37 +
    1.38 +The buffer is a convenient way of passing this information across thread or 
    1.39 +process boundaries.
    1.40 +
    1.41 +The CCommDbOverrideSettings base class provides the member functions for setting 
    1.42 +and fetching override values. 
    1.43 +@deprecated
    1.44 +	Overrides are deprecated from v9.1
    1.45 +*/
    1.46 +	{
    1.47 +public:
    1.48 +	IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList);
    1.49 +	IMPORT_C ~CStoreableOverrideSettings();
    1.50 +
    1.51 +	IMPORT_C void InternalizeL(RReadStream& aStream);
    1.52 +	IMPORT_C void RestoreL(HBufC8* aBuf);
    1.53 +	IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
    1.54 +	IMPORT_C CBufFlat* StoreLC();
    1.55 +	inline CBufStore* GetStore() const;
    1.56 +
    1.57 +	IMPORT_C static CStoreableOverrideSettings* NewL(TParamList aParamList, TCommDbDatabaseType aDbType);
    1.58 +
    1.59 +protected:
    1.60 +	CStoreableOverrideSettings(TParamList aParamList);
    1.61 +	virtual void ConstructL();
    1.62 +private:
    1.63 +	/** @deprecated in v7.0. There is no need for this store */
    1.64 +	CBufStore* iStore;
    1.65 +	};
    1.66 +
    1.67 +#include <cdbstore.inl>
    1.68 +
    1.69 +#endif