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 GLXCOMMANDHANDLERCOMMENT_H |
|
19 #define GLXCOMMANDHANDLERCOMMENT_H |
|
20 |
|
21 #include <glxmpxcommandhandler.h> |
|
22 |
|
23 #ifdef BUILD_COMMONCOMMANDHANDLERS |
|
24 #define GLX_COMMONCOMMANDHANDLERS_EXPORT Q_DECL_EXPORT |
|
25 #else |
|
26 #define GLX_COMMONCOMMANDHANDLERS_EXPORT Q_DECL_IMPORT |
|
27 #endif |
|
28 |
|
29 |
|
30 class GLX_COMMONCOMMANDHANDLERS_EXPORT GlxCommandHandlerComment : public GlxMpxCommandHandler |
|
31 { |
|
32 public: |
|
33 GlxCommandHandlerComment(); |
|
34 ~GlxCommandHandlerComment(); |
|
35 CMPXCommand* CreateCommandL(TInt aCommandId, MGlxMediaList& aMediaList, TBool& aConsume) const ; |
|
36 private: |
|
37 QString CompletionTextL() const; |
|
38 QString GetName(MGlxMediaList& aMediaList) const; |
|
39 void HandleErrorL(TInt aErrorCode); |
|
40 }; |
|
41 |
|
42 #endif // GLXCOMMANDHANDLERCOMMENT_H |