96
|
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 |
#ifndef CAHANDLER_H
|
|
18 |
#define CAHANDLER_H
|
|
19 |
|
|
20 |
#include <QObject>
|
|
21 |
#include <cadefs.h>
|
|
22 |
#include <caclient_global.h>
|
|
23 |
|
|
24 |
class QString;
|
|
25 |
class CaEntry;
|
|
26 |
|
112
|
27 |
class CaHandler
|
96
|
28 |
{
|
|
29 |
public:
|
|
30 |
virtual ~CaHandler() {}
|
|
31 |
virtual int execute(const CaEntry &entry,
|
116
|
32 |
const QString &commandName,
|
|
33 |
QObject* receiver = NULL,
|
|
34 |
const char* member = NULL) = 0;
|
96
|
35 |
};
|
|
36 |
|
|
37 |
Q_DECLARE_INTERFACE(CaHandler, "com.nokia.homescreen.ICommandHandler")
|
|
38 |
|
98
|
39 |
#endif // CAHANDLER_H
|