equal
deleted
inserted
replaced
1 |
|
2 /** |
|
3 * Copyright (c) 2010 Sasken Communication Technologies Ltd. |
|
4 * All rights reserved. |
|
5 * This component and the accompanying materials are made available |
|
6 * under the terms of the "Eclipse Public License v1.0" |
|
7 * which accompanies this distribution, and is available |
|
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html" |
|
9 * |
|
10 * Initial Contributors: |
|
11 * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution |
|
12 * |
|
13 * Contributors: |
|
14 * Manasij Roy, Nalina Hariharan |
|
15 * |
|
16 * Description: |
|
17 * Observer class to notify availability of asynchronous requests |
|
18 * |
|
19 */ |
|
20 |
|
21 #ifndef SMFOBSERVER_H_ |
|
22 #define SMFOBSERVER_H_ |
|
23 class QByteArray; |
|
24 #include "smfglobal.h" |
|
25 #include <QObject> |
|
26 /** |
|
27 * Observer class to notify availability of asynchronous requests |
|
28 */ |
|
29 class smfObserver : public QObject |
|
30 { |
|
31 public: |
|
32 /** |
|
33 * To notify availibility of asynchronous requests. |
|
34 * @param result Requested result, before using must check error param. |
|
35 * @param opcode Requested opcode, for which the result has arrived. |
|
36 * |
|
37 */ |
|
38 virtual void resultsAvailable(QByteArray result,SmfRequestTypeID opcode, SmfError error)= 0; |
|
39 }; |
|
40 |
|
41 #endif |
|