summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-02-01 13:05:40 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-02-01 13:05:40 +0900
commit8c00390de4f840509e6f3f16f9dc38ef5e9c35c1 (patch)
tree801af75bc2070e8ca1c85022ea247e7d2ab92fed /include
parent49b40a5d9545c0847889292acf5a8da545e970eb (diff)
downloadstarter-8c00390de4f840509e6f3f16f9dc38ef5e9c35c1.tar.gz
starter-8c00390de4f840509e6f3f16f9dc38ef5e9c35c1.tar.bz2
starter-8c00390de4f840509e6f3f16f9dc38ef5e9c35c1.zip
Diffstat (limited to 'include')
-rwxr-xr-x[-rw-r--r--]include/clock-mgr.h (renamed from include/xmonitor.h)20
-rwxr-xr-xinclude/dbus-util.h33
-rwxr-xr-xinclude/dbus-util_w.h34
-rwxr-xr-xinclude/direct-access.h33
-rwxr-xr-xinclude/hourly_alert.h7
-rwxr-xr-xinclude/hw_key.h7
-rwxr-xr-x[-rw-r--r--]include/hw_key_w.h (renamed from include/virtual_canvas.h)20
-rwxr-xr-xinclude/lock-daemon-lite.h25
-rwxr-xr-xinclude/lock-daemon.h9
-rwxr-xr-xinclude/lockd-bt.h28
-rwxr-xr-xinclude/lockd-debug.h7
-rwxr-xr-xinclude/lockd-process-mgr.h13
-rwxr-xr-xinclude/lockd-window-mgr.h7
-rwxr-xr-xinclude/menu_daemon.h13
-rw-r--r--include/pkg_event.h7
-rwxr-xr-x[-rw-r--r--]include/starter-util.h10
-rwxr-xr-xinclude/starter-vconf.h7
-rw-r--r--[-rwxr-xr-x]include/starter.h14
-rwxr-xr-xinclude/starter_w.h58
-rwxr-xr-x[-rw-r--r--]include/util.h21
-rw-r--r--include/x11.h7
21 files changed, 260 insertions, 120 deletions
diff --git a/include/xmonitor.h b/include/clock-mgr.h
index a5e7507..2b32512 100644..100755
--- a/include/xmonitor.h
+++ b/include/clock-mgr.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,13 +12,15 @@
* 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 __MENU_DAEMON_XMONITOR_H__
-#define __MENU_DAEMON_XMONITOR_H__
+#ifndef __CLOCK_MGR_H__
+#define __CLOCK_MGR_H__
+
+void init_clock_mgr(void *data);
+void fini_clock_mgr(void *data);
+void clock_mgr_set_reserved_apps_status(void *data);
-extern int xmonitor_init(void);
-extern void xmonitor_fini(void);
+#endif
+/* __CLOCK_MGR_H__*/
-#endif /* __MENU_DAEMON_XMONITOR_H__ */
diff --git a/include/dbus-util.h b/include/dbus-util.h
new file mode 100755
index 0000000..3b20715
--- /dev/null
+++ b/include/dbus-util.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2000 - 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.
+ */
+
+#ifndef __DBUS_UTIL_H__
+#define __DBUS_UTIL_H__
+
+#include <E_DBus.h>
+
+#define OOM_ADJ_VALUE_HOMESCREEN 0
+
+#ifdef FEATURE_LITE
+#define OOM_ADJ_VALUE_DEFAULT 200
+#else
+#define OOM_ADJ_VALUE_DEFAULT 0
+#endif
+
+void starter_dbus_home_raise_signal_send(void);
+int starter_dbus_set_oomadj(int pid, int oom_adj_value);
+
+#endif //__DBUS_UTIL_H__
diff --git a/include/dbus-util_w.h b/include/dbus-util_w.h
new file mode 100755
index 0000000..5a279c8
--- /dev/null
+++ b/include/dbus-util_w.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2000 - 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.
+ */
+
+#ifndef __DBUS_H__
+#define __DBUS_H__
+
+#include <E_DBus.h>
+
+int request_Poweroff(void);
+int request_dbus_cpu_booster(void);
+int init_dbus_ALPM_signal(void *data);
+int init_dbus_COOL_DOWN_MODE_signal(void *data);
+int get_dbus_cool_down_mode(void *data);
+int init_dbus_NIKE_RUNNING_STATUS_signal(void *data);
+int init_dbus_ALPM_clock_state_signal(void *data);
+void starter_dbus_alpm_clock_signal_send(void *data);
+DBusConnection *starter_dbus_connection_get(void);
+
+
+#endif //__DBUS_H__
+
diff --git a/include/direct-access.h b/include/direct-access.h
new file mode 100755
index 0000000..a4f4067
--- /dev/null
+++ b/include/direct-access.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2000 - 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.
+ */
+
+#ifndef __DIRECT_ACCESS_H__
+#define __DIRECT_ACCESS_H__
+
+#include <E_DBus.h>
+
+DBusMessage *invoke_dbus_method_sync(const char *dest, const char *path,
+ const char *interface, const char *method,
+ const char *sig, char *param[]);
+
+DBusMessage *invoke_dbus_method(const char *dest, const char *path,
+ const char *interface, const char *method,
+ const char *sig, char *param[]);
+
+int launch_direct_access(int access_val);
+
+#endif //__DIRECT_ACCESS_H__
+
diff --git a/include/hourly_alert.h b/include/hourly_alert.h
index 162d600..1e8ee11 100755
--- a/include/hourly_alert.h
+++ b/include/hourly_alert.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __HOURLY_ALERT_H__
diff --git a/include/hw_key.h b/include/hw_key.h
index 1442b3e..ec02f61 100755
--- a/include/hw_key.h
+++ b/include/hw_key.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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.
- *
*/
extern void destroy_key_window(void);
diff --git a/include/virtual_canvas.h b/include/hw_key_w.h
index 2d523f8..13f9062 100644..100755
--- a/include/virtual_canvas.h
+++ b/include/hw_key_w.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,19 +12,9 @@
* 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 __STARTER_VIRTUAL_CANVAS_H__
-#define __STARTER_VIRTUAL_CANVAS_H__
-
-#include <Evas.h>
-#include <stdbool.h>
-
-extern Evas *virtual_canvas_create(int w, int h);
-extern bool virtual_canvas_flush_to_file(Evas *e, const char *filename, int w, int h);
-extern bool virtual_canvas_destroy(Evas *e);
-
-#endif //__STARTER_VIRTUAL_CANVAS_H__
+extern void destroy_key_window(void);
+extern void create_key_window(char *home_pkgname, void *data);
// End of a file
diff --git a/include/lock-daemon-lite.h b/include/lock-daemon-lite.h
new file mode 100755
index 0000000..d1367a3
--- /dev/null
+++ b/include/lock-daemon-lite.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2000 - 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.
+ */
+
+#ifndef __LOCK_DAEMON_LITE_H__
+#define __LOCK_DAEMON_LITE_H__
+
+int start_lock_daemon_lite(int launch_lock, int is_first_boot);
+int lockd_get_lock_type(void);
+int lockd_get_hall_status(void);
+int lockd_get_lock_state(void);
+
+#endif /* __LOCK_DAEMON_LITE_H__ */
diff --git a/include/lock-daemon.h b/include/lock-daemon.h
index 5a7cc7b..d43f3e6 100755
--- a/include/lock-daemon.h
+++ b/include/lock-daemon.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __LOCK_DAEMON_H__
@@ -24,5 +19,7 @@
int start_lock_daemon(int launch_lock, int is_first_boot);
int lockd_get_lock_type(void);
+int lockd_get_hall_status(void);
+int lockd_get_lock_state(void);
#endif /* __LOCK_DAEMON_H__ */
diff --git a/include/lockd-bt.h b/include/lockd-bt.h
new file mode 100755
index 0000000..33a9369
--- /dev/null
+++ b/include/lockd-bt.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2000 - 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.
+ */
+
+#ifndef __LOCKD_BT_H__
+#define __LOCKD_BT_H__
+
+int lockd_start_bt_monitor(void);
+
+void lockd_stop_bt_monitor(void);
+
+void lockd_change_security_auto_lock(int is_connected);
+
+int lockd_get_auto_lock_security(void);
+
+#endif /* __LOCKD_BT_H__ */
diff --git a/include/lockd-debug.h b/include/lockd-debug.h
index a8ee916..4c24a23 100755
--- a/include/lockd-debug.h
+++ b/include/lockd-debug.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __LOCKD_DEBUG_H__
diff --git a/include/lockd-process-mgr.h b/include/lockd-process-mgr.h
index 3806754..f7429da 100755
--- a/include/lockd-process-mgr.h
+++ b/include/lockd-process-mgr.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __LOCKD_PROCESS_MGR_H__
@@ -33,6 +28,8 @@ int lockd_process_mgr_start_recovery_lock(void);
int lockd_process_mgr_start_back_to_app_lock(void);
+int lockd_process_mgr_start_ready_lock(void);
+
int lockd_process_mgr_start_phone_lock(void);
int lockd_process_mgr_start_normal_lock(void *data, int (*dead_cb) (int, void *));
@@ -48,4 +45,8 @@ int lockd_process_mgr_check_lock(int pid);
int lockd_process_mgr_check_call(int pid);
+int lockd_process_mgr_check_home(int pid);
+
+int lockd_process_mgr_set_lockscreen_priority(int pid);
+int lockd_process_mgr_set_pwlock_priority(int pid);
#endif /* __LOCKD_PROCESS_MGR_H__ */
diff --git a/include/lockd-window-mgr.h b/include/lockd-window-mgr.h
index 21e42e4..cbb1a98 100755
--- a/include/lockd-window-mgr.h
+++ b/include/lockd-window-mgr.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __LOCKD_WINDOW_MGR_H__
diff --git a/include/menu_daemon.h b/include/menu_daemon.h
index 6a22045..5972da5 100755
--- a/include/menu_daemon.h
+++ b/include/menu_daemon.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 <bundle.h>
@@ -38,12 +33,16 @@ extern const char *menu_daemon_get_svoice_pkg_name(void);
extern int menu_daemon_check_dead_signal(int pid);
extern char *menu_daemon_get_selected_pkgname(void);
-extern void menu_daemon_open_homescreen(const char *pkgname);
+extern int menu_daemon_open_homescreen(const char *pkgname);
+#if 0
extern int menu_daemon_get_pm_key_ignore(int ignore_key);
extern void menu_daemon_set_pm_key_ignore(int ignore_key, int value);
+#endif
extern int menu_daemon_get_volume_pid(void);
+extern int menu_daemon_launch_search(void);
+
// End of a file
diff --git a/include/pkg_event.h b/include/pkg_event.h
index 117c488..c7ee8b6 100644
--- a/include/pkg_event.h
+++ b/include/pkg_event.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __NOTIFIER_H__
diff --git a/include/starter-util.h b/include/starter-util.h
index a1e2305..41999f6 100644..100755
--- a/include/starter-util.h
+++ b/include/starter-util.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __STARTER_UTIL_H__
@@ -25,6 +20,7 @@
#include <stdio.h>
#include <sys/time.h>
+#if 0
#define WRITE_FILE_LOG(fmt, arg...) do { \
FILE *fp;\
struct timeval tv; \
@@ -34,5 +30,5 @@
fprintf(fp, "%u%09u : "fmt"\n", (int) tv.tv_sec, (int) tv.tv_usec, ##arg); \
fclose(fp);\
} while (0)
-
+#endif
#endif /* __STARTER_UTIL_H__ */
diff --git a/include/starter-vconf.h b/include/starter-vconf.h
index 71c9699..2d51f0c 100755
--- a/include/starter-vconf.h
+++ b/include/starter-vconf.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __STARTER_VCONF_H__
diff --git a/include/starter.h b/include/starter.h
index 017bc83..4ce9124 100755..100644
--- a/include/starter.h
+++ b/include/starter.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,23 +12,15 @@
* 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 __STARTER_H__
#define __STARTER_H__
#include <sys/time.h>
-#include <aul.h>
-#include <alarm.h>
struct appdata {
struct timeval tv_start; /* start time */
- int launcher_pid;
- alarm_id_t alarm_id; /* -1 : None, others : set alarm */
- bool wms_connected;
};
-int w_launch_app(char *pkgname, bundle *b);
-
#endif /* __STARTER_H__ */
diff --git a/include/starter_w.h b/include/starter_w.h
new file mode 100755
index 0000000..eec6277
--- /dev/null
+++ b/include/starter_w.h
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2000 - 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.
+ */
+
+#ifndef __STARTER_W_H__
+#define __STARTER_W_H__
+
+#include <sys/time.h>
+#include <aul.h>
+#include <alarm.h>
+
+struct appdata {
+ struct timeval tv_start; /* start time */
+ int launcher_pid;
+ alarm_id_t alarm_id; /* -1 : None, others : set alarm */
+ int bt_connected;
+ char *home_pkgname;
+ int first_boot;
+ int cool_down_mode;
+ int wake_up_setting;
+ int pid_ALPM_clock;
+ int ambient_mode;
+ int retry_cnt;
+ int nike_running_status;
+ int ALPM_clock_state;
+ int reserved_apps_local_port_id;
+ Eina_List *reserved_apps_list;
+ int lcd_status;
+ char *reserved_popup_app_id;
+};
+
+typedef enum {
+ STARTER_RESERVED_APPS_SHEALTH = 0,
+ STARTER_RESERVED_APPS_NIKE = 1,
+ STARTER_RESERVED_APPS_HERE = 2,
+ STARTER_RESERVED_APPS_MAX = 3,
+} starter_reservd_apps_type;
+
+#define W_HOME_PKGNAME "org.tizen.w-home"
+#define W_LAUNCHER_PKGNAME "com.samsung.w-launcher-app"
+
+
+int w_open_app(char *pkgname);
+int w_launch_app(char *pkgname, bundle *b);
+
+#endif /* __STARTER_H__ */
diff --git a/include/util.h b/include/util.h
index 89573b8..5972926 100644..100755
--- a/include/util.h
+++ b/include/util.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __MENU_DAEMON_UTIL_H__
@@ -25,12 +20,16 @@
#include <stdio.h>
#include <sys/time.h>
-#define APP_TRAY_PKG_NAME "org.tizen.app-tray"
+#define APP_TRAY_PKG_NAME "com.samsung.app-tray"
#define MENU_SCREEN_PKG_NAME "org.tizen.menu-screen"
-#define PROVIDER_PKG_NAME "org.tizen.data-provider-master"
-#define SVOICE_PKG_NAME "org.tizen.svoice"
-#define CLUSTER_HOME_PKG_NAME "org.tizen.cluster-home"
-#define EASY_HOME_PKG_NAME "org.tizen.easy-home"
+#define PROVIDER_PKG_NAME "com.samsung.data-provider-master"
+#define SVOICE_PKG_NAME "com.samsung.svoice"
+#define CLUSTER_HOME_PKG_NAME "com.samsung.cluster-home"
+#define EASY_HOME_PKG_NAME "com.samsung.easy-home"
+#define EASY_APPS_PKG_NAME "com.samsung.easy-apps"
+#define HOMESCREEN_PKG_NAME "org.tizen.homescreen"
+#define TASKMGR_PKG_NAME "org.tizen.task-mgr"
+#define DEFAULT_TASKMGR_PKG_NAME "com.samsung.taskmgr"
#define CONF_PATH_NUMBER 1024
#ifdef LOG_TAG
diff --git a/include/x11.h b/include/x11.h
index dca365b..ef0bbc5 100644
--- a/include/x11.h
+++ b/include/x11.h
@@ -1,9 +1,5 @@
/*
- * starter
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Seungtaek Chung <seungtaek.chung@samsung.com>, Mi-Ju Lee <miju52.lee@samsung.com>, Xi Zhichan <zhichan.xi@samsung.com>
+ * Copyright (c) 2000 - 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.
@@ -16,7 +12,6 @@
* 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 __STARTER_X11_H__