37
|
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: Message share UI service interface used for interfacing between
|
|
15 |
* QT highway and other applications.
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef MSGSHAREUIINTERFACE_H_
|
|
20 |
#define MSGSHAREUIINTERFACE_H_
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
#include <xqserviceprovider.h>
|
|
24 |
#include <qvariant.h>
|
|
25 |
|
|
26 |
class MsgServiceViewManager;
|
|
27 |
class MsgShareUiInterface : public XQServiceProvider
|
|
28 |
{
|
|
29 |
Q_OBJECT
|
|
30 |
|
|
31 |
public:
|
|
32 |
/*
|
|
33 |
* Constructor
|
|
34 |
*/
|
|
35 |
MsgShareUiInterface(MsgServiceViewManager* viewManager);
|
|
36 |
|
|
37 |
/*
|
|
38 |
* Destructor
|
|
39 |
*/
|
|
40 |
~MsgShareUiInterface();
|
|
41 |
|
|
42 |
public slots:
|
|
43 |
/**
|
|
44 |
* Send message.
|
|
45 |
* @param data data to be sent.
|
|
46 |
*/
|
|
47 |
void send(QVariant data);
|
|
48 |
|
|
49 |
private:
|
|
50 |
/**
|
|
51 |
* Pointer to view manager
|
|
52 |
* Not owned.
|
|
53 |
*/
|
|
54 |
MsgServiceViewManager* mViewManager;
|
|
55 |
};
|
|
56 |
|
|
57 |
|
|
58 |
#endif /* MSGSHAREUIINTERFACE_H_ */
|