equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include "US_STD.H" |
|
17 |
|
18 GLDEF_C void Panic(TStorePanic aPanic) |
|
19 // |
|
20 // Panic the process with DBMS-Store as the category. |
|
21 // |
|
22 { |
|
23 _LIT(KCategory,"DBMS-Store"); |
|
24 Dbms::Panic(KCategory,aPanic); |
|
25 } |
|
26 |
|
27 |
|
28 // Class RDbStoreReadStream |
|
29 |
|
30 void RDbStoreReadStream::FilterL(TType aType,TUint32 aInit) |
|
31 // |
|
32 // Apply a filter if appropriate |
|
33 // |
|
34 { |
|
35 MDbStreamFilter* f=iDatabase.Filter(); |
|
36 if (f) |
|
37 Attach(f->FilterL(Source(),aInit,aType)); |
|
38 } |
|
39 |
|
40 // Class RDbStoreWriteStream |
|
41 |
|
42 void RDbStoreWriteStream::FilterL(TType aType,TUint32 aInit) |
|
43 // |
|
44 // Apply a filter if appropriate |
|
45 // |
|
46 { |
|
47 MDbStreamFilter* f=iDatabase.Filter(); |
|
48 if (f) |
|
49 Attach(f->FilterL(Sink(),aInit,aType)); |
|
50 } |