*
* Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact:
+ * Contact:
*
* Jaewon Lim <jaewon81.lim@samsung.com>
* Woojin Jung <woojin2.jung@samsung.com>
* Juyoung Kim <j0.kim@samsung.com>
- *
+ *
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
- *
+ *
* This library is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
*
* Contributors:
* - S-Core Co., Ltd
- *
+ *
*/
#ifndef _DAHELPER_H_
extern "C"{
#endif
+extern int app_efl_main_flg;
+
#define MAX_PATH_LENGTH 256
#define MAX_STACK_DEPTH 128
#define TRIM_STACK_DEPTH 2
} \
} while(0)
-#define NUM_ORIGINAL_LIBRARY 11
+#define NUM_ORIGINAL_LIBRARY 9
typedef enum
{
LIBC = 0,
LIBPTHREAD = 1,
LIBELEMENTARY = 2,
- LIBOSP_UIFW = 3,
- LIBOSP_APPFW = 4,
- LIBOSP_WEB = 5,
- LIBECORE_INPUT_EVAS = 6,
- LIBDAEMON = 7,
- LIBCAPI_APPFW_APPLICATION = 8,
- LIBGLES20 = 9,
- LIBEGL = 10
+ LIBECORE_INPUT_EVAS = 3,
+ LIBDAEMON = 4,
+ LIBCAPI_APPFW_APPLICATION = 5,
+ LIBGLES20 = 6,
+ LIBEGL = 7,
+ LIBSELF = 8
} ORIGINAL_LIBRARY;
-extern char *lib_string[NUM_ORIGINAL_LIBRARY];
+extern const char *lib_string[NUM_ORIGINAL_LIBRARY];
extern void *lib_handle[NUM_ORIGINAL_LIBRARY];
// type definition for global variable
int stateTouch;
int init_complete;
int custom_chart_callback_count;
- unsigned long optionflag;
+ uint64_t optionflag;
} __traceInfo;
extern __traceInfo gTraceInfo;
//wchar_t* -> char*
void WcharToChar(char* pstrDest, const wchar_t* pwstrSrc);
+char *absolutize_filepath(char buf[PATH_MAX], const char *fname);
+void application_exit();
// screen capture functions
int initialize_screencapture();