2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FApp_AppManagerIpcMessage.h
19 * @brief This is the header file for the AppManagerService Ipc message types.
22 #include <FAppTypes.h>
24 #include "FApp_Types.h"
26 #include "ipc/ipc_message_macros.h"
27 #include "FIo_IpcCommonParamTraits.h"
28 #include "FIo_IpcMessageStart.h"
29 #include "FApp_AppManagerEventParamTraits.h"
32 #define IPC_MESSAGE_START AppManagerServiceStart
34 IPC_MESSAGE_CONTROL2(AppManager_LaunchApplication, Tizen::App::AppId, int)
35 IPC_SYNC_MESSAGE_CONTROL1_1(AppManager_TerminateApplication, Tizen::App::AppId, result)
36 IPC_SYNC_MESSAGE_CONTROL1_1(AppManager_IsRunning, Tizen::App::AppId, bool)
37 IPC_SYNC_MESSAGE_CONTROL0_2(AppManager_GetRunningAppList, Tizen::Base::Collection::ArrayList, result)
38 IPC_MESSAGE_CONTROL4(AppManager_RegisterApplication, Tizen::App::AppId, Tizen::Base::String, int, int)
39 IPC_MESSAGE_CONTROL1(AppManager_UnregisterApplication, int)
40 IPC_MESSAGE_CONTROL1(AppManager_OnEventReceived, Tizen::App::_AppManagerEventArg)
41 IPC_MESSAGE_CONTROL1(AppManager_AddEventListener, int)
42 IPC_MESSAGE_CONTROL1(AppManager_RemoveEventListener, int)
43 IPC_MESSAGE_CONTROL0(AppManager_OnTerminateApplicationRequested)