|
1 /** |
|
2 This file is part of CWRT package ** |
|
3 |
|
4 Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** |
|
5 |
|
6 This program is free software: you can redistribute it and/or modify |
|
7 it under the terms of the GNU (Lesser) General Public License as |
|
8 published by the Free Software Foundation, version 2.1 of the License. |
|
9 This program is distributed in the hope that it will be useful, but |
|
10 WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
12 (Lesser) General Public License for more details. You should have |
|
13 received a copy of the GNU (Lesser) General Public License along |
|
14 with this program. If not, see <http://www.gnu.org/licenses/>. |
|
15 */ |
|
16 |
|
17 |
|
18 #include <QByteArray> |
|
19 #include "serviceipcsharedmem_p.h" |
|
20 |
|
21 namespace WRT |
|
22 { |
|
23 |
|
24 /*! |
|
25 \class ServiceSharedMemIPC |
|
26 |
|
27 Shared memory backend for the service IPC |
|
28 @note: THIS CLASS IS NOT FINISHED |
|
29 */ |
|
30 |
|
31 /*! |
|
32 Constructor |
|
33 */ |
|
34 ServiceSharedMemIPC::ServiceSharedMemIPC() |
|
35 { |
|
36 } |
|
37 |
|
38 /*! |
|
39 Destructor |
|
40 */ |
|
41 ServiceSharedMemIPC::~ServiceSharedMemIPC() |
|
42 { |
|
43 } |
|
44 |
|
45 /*! |
|
46 Connect to the server |
|
47 */ |
|
48 bool ServiceSharedMemIPC::connect(const QString& /*aServerName*/) |
|
49 { |
|
50 return false; |
|
51 } |
|
52 |
|
53 /*! |
|
54 Disconnect from the server |
|
55 */ |
|
56 void ServiceSharedMemIPC::disconnect() |
|
57 { |
|
58 } |
|
59 |
|
60 /*! |
|
61 Start the server |
|
62 */ |
|
63 bool ServiceSharedMemIPC::startServer(const QString& /*aServerName*/, |
|
64 const QString& /*aExeName*/) |
|
65 { |
|
66 return false; |
|
67 } |
|
68 |
|
69 /*! |
|
70 Send data synchronously |
|
71 */ |
|
72 bool ServiceSharedMemIPC::sendSync(const QString& /*aRequestType*/, |
|
73 const QByteArray& /*aData*/) |
|
74 { |
|
75 return false; |
|
76 } |
|
77 |
|
78 /*! |
|
79 Send data asynchronously |
|
80 */ |
|
81 void ServiceSharedMemIPC::sendAsync(const QString& /*aRequestType*/, |
|
82 const QByteArray& /*aData*/) |
|
83 { |
|
84 } |
|
85 |
|
86 /*! |
|
87 Read all data from the buffer |
|
88 */ |
|
89 QByteArray ServiceSharedMemIPC::readAll() |
|
90 { |
|
91 return QByteArray(); |
|
92 } |
|
93 |
|
94 /*! |
|
95 Wait for data to be available in the buffer |
|
96 */ |
|
97 bool ServiceSharedMemIPC::waitForRead() |
|
98 { |
|
99 return false; |
|
100 } |
|
101 } |
|
102 // END OF FILE |