INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-IF(TIZEN_TV)
+IF(TIZEN_PROFILE_TV)
SET(PKG_MODULES
elementary
appcore-efl
gio-2.0
dpm
)
-ADD_DEFINITIONS("-DTIZEN_TV")
-ELSE(TIZEN_TV)
+ADD_DEFINITIONS("-DTIZEN_PROFILE_TV")
+ELSE(TIZEN_PROFILE_TV)
SET(PKG_MODULES
elementary
appcore-efl
dpm
contacts-service2
)
-ENDIF(TIZEN_TV)
+ENDIF(TIZEN_PROFILE_TV)
INCLUDE(FindPkgConfig)
pkg_check_modules(pkgs REQUIRED ${PKG_MODULES})
#define BT_APPCONTROL_VISIBILITY_MIME "application/x-bluetooth-visibility"
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
#define BT_VCF_FOLDER_PATH "/tmp/"
#endif
Eina_Bool _bt_timer_change_discoverable_mode(void *data);
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
char *_bt_util_vcard_create_from_id(int id, bool my_profile, const char *working_dir);
char *_bt_util_vcard_create_from_id_list(const int *id_list, int count, const char *working_dir, volatile bool *cancel);
#include <aul.h>
#include <notification.h>
#include <dpm/restriction.h>
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
#include <contacts.h>
#include <dirent.h>
#include <fcntl.h>
return (dpm_state == 0) ? TRUE : FALSE;
}
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
static bool __bt_util_file_exists(const char *file)
{
bool res = false;
#define MULTI_SHARE_SERVICE_DATA_PATH "http://tizen.org/appcontrol/data/path"
#define APP_CONTROL_OPERATION_SHARE_CONTACT "http://tizen.org/appcontrol/operation/share_contact"
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
#define APP_CONTROL_MIME_CONTACT "application/vnd.tizen.contact"
#define APP_CONTROL_MY_PROFILE_DATA_TYPE "my_profile"
#endif
void __bt_main_parse_service(bt_ug_data *ugd, app_control_h service)
{
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
char *uri_scheme = NULL;;
char *body_text = NULL;
char *launch_type = NULL;