Tizen 2.1 base
[platform/framework/native/telephony.git] / src / inc / FTel_ConnectivityIpcMessages.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17 /**
18  * @file        FTel_ConnectivityIpcMessages.h
19  * @brief       This is the header file for the Connectivity service daemon's IPC messages.
20  *
21  * This header file contains the declarations of the IPC messages for the Connectivity service daemon.
22  */
23
24 #include <ipc/ipc_message_macros.h>
25 #include <FIo_IpcCommonParamTraits.h>
26 #include <FIo_IpcMessageStart.h>
27
28 #ifndef TELEPHONY_CONNECTIVITY_IPC_SERVER_NAME
29 #define TELEPHONY_CONNECTIVITY_IPC_SERVER_NAME "osp.telephony.ipcserver.connectivity"
30 #endif
31
32 #define IPC_MESSAGE_START ConnectivityTelephonyServiceMsgStart
33
34 // Client -> Server (sync)
35 IPC_SYNC_MESSAGE_CONTROL0_2(ConnectivityTelephonyServiceMsg_getImsi, Tizen::Base::String /* imsi */, unsigned long /* result */)
36 IPC_SYNC_MESSAGE_CONTROL0_1(ConnectivityTelephonyServiceMsg_hasSystemPrivilege, unsigned long /* result */)
37 IPC_SYNC_MESSAGE_CONTROL0_1(ConnectivityTelephonyServiceMsg_getNetworkSelectionMode, unsigned long /* result */)
38 IPC_SYNC_MESSAGE_CONTROL2_1(ConnectivityTelephonyServiceMsg_selectNetworkManual, Tizen::Base::String /* plmn */, int /* network type */, unsigned long /* result */)
39 IPC_SYNC_MESSAGE_CONTROL0_1(ConnectivityTelephonyServiceMsg_selectNetworkAutomatic, unsigned long /* result */)
40 IPC_SYNC_MESSAGE_CONTROL0_1(ConnectivityTelephonyServiceMsg_searchNetwork, unsigned long /* result */)
41
42 IPC_SYNC_MESSAGE_CONTROL0_1(ConnectivityTelephonyServiceMsg_hasCallForwardPrivilege, unsigned long /* result */)
43 IPC_SYNC_MESSAGE_CONTROL1_1(ConnectivityTelephonyServiceMsg_requestCallForward, Tizen::Base::String /* phone number */, unsigned long /* result */)
44 IPC_SYNC_MESSAGE_CONTROL0_1(ConnectivityTelephonyServiceMsg_stopCallForward, unsigned long /* result */)
45 IPC_SYNC_MESSAGE_CONTROL0_1(ConnectivityTelephonyServiceMsg_getCallForwardNumber, unsigned long /* result */)
46
47
48
49 // Server -> Client (async)
50 IPC_MESSAGE_CONTROL2(ConnectivityTelephonyServiceMsg_onNetworkSelectionModeReceived, bool /* isManual */, unsigned long /* result */);
51 IPC_MESSAGE_CONTROL1(ConnectivityTelephonyServiceMsg_onNetworkSelectionCompleted, unsigned long /* result */);
52 IPC_MESSAGE_CONTROL2(ConnectivityTelephonyServiceMsg_onNetworkSearchCompleted, Tizen::Base::String /* message */, unsigned long /* result */);
53 IPC_MESSAGE_CONTROL2(ConnectivityTelephonyServiceMsg_onCallForwardNumberReceived, Tizen::Base::String /* phone number */, unsigned long /* result */);
54 IPC_MESSAGE_CONTROL2(ConnectivityTelephonyServiceMsg_onCallForwardResponseReceived, Tizen::Base::String /* phone number */, unsigned long /* result */);
55 IPC_MESSAGE_CONTROL2(ConnectivityTelephonyServiceMsg_onCallForwardStopped, Tizen::Base::String /* phone number */, unsigned long /* result */);
56