--- /dev/null
+/**
+ * resourced
+ *
+ * Copyright (c) 2015 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.
+ *
+ */
+
+/**
+ * @file heart-path.h
+ * @desc definition of heart path
+ **/
+
+#ifndef __HEART_PATH_H__
+#define __HEART_PATH_H__
+
+#include "resourced.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#define HEART_CONF_FILE_PATH RD_CONFIG_FILE(monitor)
+#define HEART_FILE_PATH RD_SYS_DATA"/heart"
+#define HEART_USER_FILE_PATH "%s/data/heart"
+
+#endif /*__HEART_PATH_H__*/
#include <time.h>
#include "dbus-handler.h"
+#include "heart-path.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#define HEART_CONF_FILE_PATH RD_CONFIG_FILE(monitor)
-#define HEART_FILE_PATH RD_SYS_DATA"/heart"
-#define HEART_USER_FILE_PATH "%s/data/heart"
#define HEART_CONF_SECTION "HEART"
#define MEM_NAME "memory"
#include <assert.h>
#include "trace.h"
-#include "heart.h"
#include "logging.h"
#include "resourced.h"
#include "macro.h"
#include "notifier.h"
#include "userinfo-list.h"
+#include "heart-path.h"
#define MAX_STRLEN(a,b) (sizeof a > sizeof b ? sizeof a : sizeof b)
#define LOGGING_BUF_MAX (PATH_MAX + MAX_STRLEN(USER_DEFAULT_DB_NAME, USER_OWN_DB_NAME))