+++ /dev/null
-/*
- * Copyright (c) 2014 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.
- */
-
-#ifndef __DBG_H__
-#define __DBG_H__
-
-#include <dlog.h>
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-#define LOG_TAG "org.tizen.homescreen-tv-ref"
-
-#ifndef _ERR
-#define _ERR(fmt, args...) LOGE("[%s:%d] "fmt"\n", __func__, __LINE__, ##args)
-#endif
-
-#ifndef _DBG
-#define _DBG(fmt, args...) LOGD("[%s:%d] "fmt"\n", __func__, __LINE__, ##args)
-#endif
-
-#ifndef _INFO
-#define _INFO(fmt, args...) LOGI("[%s:%d] "fmt"\n", __func__, __LINE__, ##args)
-#endif
-
-
-#endif /* __DBG_H__ */
#include <stdlib.h>
#include <string.h>
+#include <AppCommon.h>
+
#include "Parcel.h"
-#include "dbg.h"
#include "BaseBus.h"
-#define _CREATE_BEGIN int ___fail = 0;
-#define _CHECK(exp) do { if (!(exp)) { ___fail = 1; _DBG("_CHECK FAIL"); break; }
-#define _CHECK_FAIL } while (0); if (___fail != 0) ___fail++; if (___fail > 2)
-#define _CREATE_END_AND_CATCH if (___fail != 0)
-#define _WHEN_SUCCESS if (___fail == 0)
-#define _COMMAND if (___fail == 0)
-
-
struct SBaseBus {
CBaseBus::SCallback cb;
#include <stdlib.h>
#include "Bus.h"
-#include "dbg.h"
-#include "common.h"
+#include <AppCommon.h>
#define TLM_SEAT_ID "seat0"
#define TLM_DBUS_ROOT_SOCKET_PATH "/var/run/tlm/dbus-sock"
#include <gio/gio.h>
#include <stdlib.h>
+#include <AppCommon.h>
+
#include "Parcel.h"
-#include "dbg.h"
#include "ClientBus.h"
#include <gio/gio.h>
#include <stdlib.h>
-#include "dbg.h"
+#include <AppCommon.h>
#include "Parcel.h"
+++ /dev/null
-#ifndef __COMMON_H__
-#define __COMMON_H__
-
-
-#include "dbg.h"
-
-
-#define ASSERT(exp) if (!(exp)) { _DBG(#exp); int* a = 0; *a = 5; }
-
-#define _CREATE_BEGIN int ___fail = 0;
-#define _CHECK(exp) do { if (!(exp)) { ___fail = 1; _DBG("_CHECK FAIL"); break; }
-#define _CHECK_FAIL } while (0); if (___fail != 0) ___fail++; if (___fail > 2)
-#define _CREATE_END_AND_CATCH if (___fail != 0)
-#define _WHEN_SUCCESS if (___fail == 0)
-#define _COMMAND if (___fail == 0)
-
-
-#endif /* __COMMON_H__ */
* limitations under the License.
*/
-#include <Elementary.h>
#include <ctype.h>
-#include "AppCommon.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "bar.h"
#include "engine.h"
#include "defs.h"
-#include "dbg.h"
#define KEY_LONG_DUR 1.0
#define EDIT_ARROW_UP_H 50
* limitations under the License.
*/
-#include <Elementary.h>
#include <ctype.h>
-#include "AppCommon.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "bar.h"
#include "engine.h"
#include "defs.h"
-#include "dbg.h"
#define XBAR_W 647
#define XBAR_H 31
* limitations under the License.
*/
-#include <Elementary.h>
#include <ctype.h>
#include <string.h>
-#include "AppCommon.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "bar.h"
#include "engine.h"
#include "defs.h"
-#include "dbg.h"
#define STYLE_TITLE "title"
#define STYLE_VIDEO "video"
#include <cynara-client.h>
#include <pwd.h>
-#include "common.h"
+#include <AppCommon.h>
+
#include "Bus.h"
#include "engine.h"
#include "ClientBus.h"
#include "defs.h"
-#include "dbg.h"
+
#define SECTION_USER "user"
#define SECTION_UBAR_ITEMS "ubar.items"
#include <glib.h>
#include <app-content.h>
+#include <AppCommon.h>
#include "../../engine.h"
-#include "../../common.h"
#include "../include/EngineBarItem.h"
#include <app-content.h>
+#include <AppCommon.h>
+
#include "../../Bus.h"
-#include "../../common.h"
#include "../../engine.h"
#include "../include/EngineBarItem.h"
#include "../include/EngineDBarItem.h"
#include <string.h>
-#include "../../common.h"
+#include <AppCommon.h>
+
#include "../include/EngineDBarItemContent.h"
* limitations under the License.
*/
-#include <Elementary.h>
#include <gum/gum-user.h>
#include <gum/gum-user-service.h>
#include <gum/common/gum-user-types.h>
-#include "../../common.h"
+
+#include <AppCommon.h>
+
#include "../../engine.h"
#include "../include/EngineUBarItem.h"
*/
#include <string.h>
-#include "dbg.h"
-#include "../../common.h"
+#include <AppCommon.h>
+
#include "../include/Entity.h"
* limitations under the License.
*/
-#include <Elementary.h>
#include <ctype.h>
-#include "AppCommon.h"
+#include <AppCommon.h>
+
#include "i18n.h"
#include "bar.h"
#include "engine.h"
#include "defs.h"
-#include "dbg.h"
enum _hbar_state {
HBAR_STATE_HIDE,
* limitations under the License.
*/
-#include <Elementary.h>
-
-#include "AppCommon.h"
+#include <AppCommon.h>
#include "bar.h"
#include "engine.h"
#include "defs.h"
-#include "dbg.h"
enum _hscr_state {
HOMESCREEN_STATE_HIDE,
#include "homescreen.h"
#include "engine.h"
-#include "dbg.h"
+#include <AppCommon.h>
+
+
+SET_TAG("org.tizen.homescreen-tv-ref");
+
struct _appdata {
const char *name;
#include <Elementary.h>
#include <ctype.h>
-#include "AppCommon.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "bar.h"
#include "engine.h"
#include "defs.h"
-#include "dbg.h"
#define BTN_MAX 3
#define UBAR_POPUP_PADDING_X 30