equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Defines abstract interface for deleting data from log db. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __MLogsClearLog_H_ |
|
21 #define __MLogsClearLog_H_ |
|
22 |
|
23 // INCLUDES |
|
24 #include <logwrap.h> |
|
25 #include "LogsEng.hrh" |
|
26 |
|
27 // MACROS |
|
28 |
|
29 // DATA TYPES |
|
30 |
|
31 // FUNCTION PROTOTYPES |
|
32 |
|
33 // FORWARD DECLARATIONS |
|
34 class MLogsObserver; |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * Defines abstract interface for deleting events from log db. |
|
39 */ |
|
40 class MLogsClearLog |
|
41 { |
|
42 public: |
|
43 |
|
44 virtual ~MLogsClearLog() {}; |
|
45 |
|
46 public: |
|
47 /** |
|
48 * Delete model data |
|
49 * |
|
50 * @param aModel |
|
51 */ |
|
52 virtual void ClearModelL( const TLogsModel aModel ) = 0; |
|
53 |
|
54 /** |
|
55 * Delete single event from recent list. |
|
56 * @param aId |
|
57 */ |
|
58 virtual void DeleteEventL( TLogId aId ) = 0; |
|
59 |
|
60 |
|
61 /** |
|
62 * Set observer |
|
63 * |
|
64 * @param aObserver pointer to observer |
|
65 */ |
|
66 virtual void SetObserver( MLogsObserver* aObserver ) = 0; |
|
67 }; |
|
68 #endif |
|
69 |
|
70 // End of File __MLogsClearLog_H_ |