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_SYNC_MESSAGE_CONTROL1_1(AppManager_TerminateApplication, Tizen::App::AppId, result)
35 IPC_SYNC_MESSAGE_CONTROL1_2(AppManager_IsUserPreferredAppForAppControlResolution, Tizen::App::AppId, bool, result)
36 IPC_SYNC_MESSAGE_CONTROL1_1(AppManager_ClearUserPreferenceForAppControlResolution, Tizen::App::AppId, result)
37 IPC_MESSAGE_CONTROL3(AppManager_RegisterApplication, Tizen::App::AppId, int, int)
38 IPC_MESSAGE_CONTROL1(AppManager_UnregisterApplication, int)
39 IPC_MESSAGE_CONTROL1(AppManager_OnEventReceived, Tizen::App::_AppManagerEventArg)
40 IPC_MESSAGE_CONTROL1(AppManager_AddEventListener, int)
41 IPC_MESSAGE_CONTROL1(AppManager_RemoveEventListener, int)
42 IPC_MESSAGE_CONTROL0(AppManager_OnTerminateApplicationRequested)
43 IPC_MESSAGE_CONTROL2(AppManager_OnAppLifecycleEventReceived, Tizen::App::AppId, int)
44 IPC_SYNC_MESSAGE_CONTROL1_1(AppManager_RegisterAppForAppLifecycleEvent, Tizen::App::AppId, result)
45 IPC_SYNC_MESSAGE_CONTROL1_1(AppManager_UnregisterAppForAppLifecycleEvent, Tizen::App::AppId, result)