|
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 * Abstract interface for making logs view extensions. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __MLogsViewExtension_H |
|
21 #define __MLogsViewExtension_H |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include "MLogsUiExtensionBase.h" |
|
26 |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CEikMenuPane; |
|
30 class MLogsEventGetter; |
|
31 |
|
32 class CSendUi; |
|
33 |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * @internal This interface is internal to Logs. |
|
39 * |
|
40 * Abstract interface for Logs view extensions. |
|
41 */ |
|
42 class MLogsViewExtension : public MLogsUiExtensionBase |
|
43 { |
|
44 public: // Interface |
|
45 /** |
|
46 * Filters the menu pane of the Logs view connect to this |
|
47 * extension. |
|
48 * |
|
49 * @param aResourceId menu resource id. |
|
50 * @param aMenuPane menu pane which will be filtered. |
|
51 * @param aEvent getter of current event |
|
52 */ |
|
53 virtual void DynInitMenuPaneL |
|
54 (TInt aResourceId, CEikMenuPane* aMenuPane, |
|
55 const MLogsEventGetter* aEvent = NULL) = 0; |
|
56 |
|
57 /** |
|
58 * Handles Logs extension commands. |
|
59 * |
|
60 * @param aCommandId command id. |
|
61 * @return ETrue if command was handled. |
|
62 */ |
|
63 virtual TBool HandleCommandL(TInt aCommandId) = 0; |
|
64 |
|
65 // Sawfish VoIP changes >>>> |
|
66 /** |
|
67 * Reference to SendUi from the Logs Application UI object. |
|
68 * @since S60 v3.2 |
|
69 * @param aSendUi reference to SendUi object |
|
70 */ |
|
71 virtual void SetSendUi( CSendUi& aSendUi ) = 0; |
|
72 |
|
73 /** |
|
74 * Set SendUi menu command text |
|
75 * @since S60 v3.2 |
|
76 * @param aSendUiText menu command text |
|
77 */ |
|
78 virtual void SetSendUiText( const TDesC& aSendUiText ) = 0; |
|
79 // <<<< Sawfish VoIP changes |
|
80 |
|
81 protected: |
|
82 /** |
|
83 * Destructor. |
|
84 */ |
|
85 virtual ~MLogsViewExtension() { } |
|
86 }; |
|
87 |
|
88 #endif |
|
89 |
|
90 |
|
91 // End of File |