equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 * |
|
16 */ |
|
17 |
|
18 #ifndef LOGSREMOVESTATECONTEXT_H |
|
19 #define LOGSREMOVESTATECONTEXT_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <QList> |
|
23 |
|
24 // FORWARD DECLARATION |
|
25 class LogsRemoveObserver; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Context for remove state machine |
|
31 */ |
|
32 class LogsRemoveStateContext { |
|
33 public: |
|
34 |
|
35 /** |
|
36 * Get observer |
|
37 * @return observer |
|
38 */ |
|
39 virtual LogsRemoveObserver& observer() = 0; |
|
40 |
|
41 /** |
|
42 * Get ids of removed events |
|
43 * @return ids of removed events |
|
44 */ |
|
45 virtual QList<int>& removedEvents() = 0; |
|
46 |
|
47 virtual int clearType() = 0; |
|
48 |
|
49 }; |
|
50 |
|
51 |
|
52 #endif // LOGSREADERSTATECONTEXT_H |
|
53 |
|
54 |
|
55 // End of File |
|
56 |
|
57 |
|
58 |
|
59 |