First public contribution.
1 // Copyright (c) 1998-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.
18 GLDEF_C void Panic(TStorePanic aPanic)
20 // Panic the process with DBMS-Store as the category.
23 _LIT(KCategory,"DBMS-Store");
24 Dbms::Panic(KCategory,aPanic);
28 // Class RDbStoreReadStream
30 void RDbStoreReadStream::FilterL(TType aType,TUint32 aInit)
32 // Apply a filter if appropriate
35 MDbStreamFilter* f=iDatabase.Filter();
37 Attach(f->FilterL(Source(),aInit,aType));
40 // Class RDbStoreWriteStream
42 void RDbStoreWriteStream::FilterL(TType aType,TUint32 aInit)
44 // Apply a filter if appropriate
47 MDbStreamFilter* f=iDatabase.Filter();
49 Attach(f->FilterL(Sink(),aInit,aType));