+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+*/
+
+/*==================================================================================================
+ INCLUDE FILES
+==================================================================================================*/
+
#include <stdio.h>
#include <stdlib.h>
#include <glib.h>
#include "msg-manager-sound.h"
#include "msg-manager-util.h"
+/*==================================================================================================
+ DEFINES
+==================================================================================================*/
/* below defines will be removed */
#define EVENT_KEY_OUT_MSG_TYPE "msg_type"
#define EVENT_KEY_OUT_MSG_ID "msg_id"
+/*==================================================================================================
+ VARIABLES
+==================================================================================================*/
msg_handle_t msg_handle = NULL;
cm_client_h cm_handle = NULL;
static int job_cnt = 0;
static bool terminated = false;
+/*==================================================================================================
+ FUNCTION IMPLEMENTATION
+==================================================================================================*/
static int _service_app_exit(void *data)
{
MSG_MGR_INFO("kill msg-manager");