|
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 * Dummy view extension, which does nothing. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __TLogsDummyViewExtension_H |
|
21 #define __TLogsDummyViewExtension_H |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include "MLogsViewExtension.h" |
|
26 |
|
27 class CSendUi; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Dummy view extension, which does nothing. Used as default implementation. |
|
33 */ |
|
34 class TLogsDummyViewExtension : public MLogsViewExtension |
|
35 { |
|
36 public: // Constructor and destructor |
|
37 /** |
|
38 * Constructor. |
|
39 */ |
|
40 TLogsDummyViewExtension(); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 ~TLogsDummyViewExtension(); |
|
46 |
|
47 // Sawfish VoIP changes >>>> |
|
48 /** |
|
49 * Reference to SendUi from the Logs Application UI object. |
|
50 * @since S60 v3.2 |
|
51 * @param aSendUi reference to SendUi object |
|
52 */ |
|
53 void SetSendUi( CSendUi& aSendUi ); |
|
54 |
|
55 /** |
|
56 * Set SendUi menu command text |
|
57 * @since S60 v3.2 |
|
58 * @param aSendUiText menu command text |
|
59 */ |
|
60 void SetSendUiText( const TDesC& aSendUiText ); |
|
61 |
|
62 // <<<< Sawfish VoIP changes |
|
63 |
|
64 private: // Fron MLogsUiExtensionBase |
|
65 void DoRelease(); |
|
66 |
|
67 public: // From MLogsViewExtension |
|
68 void DynInitMenuPaneL( TInt aResourceId, |
|
69 CEikMenuPane* aMenuPane, |
|
70 const MLogsEventGetter* aEvent); |
|
71 TBool HandleCommandL(TInt aCommandId); |
|
72 }; |
|
73 |
|
74 #endif |
|
75 |
|
76 |
|
77 // End of File |