/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#ifndef __SHORTCUT_H__
#define __SHORTCUT_H__
#define ADD_TO_HOME_IS_DYNAMICBOX(type) (!!((type) & 0x10000000))
/* DEPRECATED API */
-extern int add_to_home_shortcut(const char *appid, const char *name, int type, const char *content_info, const char *icon, int allow_duplicate, result_internal_cb_t result_cb, void *data) __attribute__((deprecated));
-extern int add_to_home_dynamicbox(const char *appid, const char *name, int type, const char *content, const char *icon, double period, int allow_duplicate, result_internal_cb_t result_cb, void *data) __attribute__((deprecated));
+int add_to_home_shortcut(const char *appid, const char *name, int type, const char *content_info, const char *icon, int allow_duplicate, result_internal_cb_t result_cb, void *data) __attribute__((deprecated));
+int add_to_home_dynamicbox(const char *appid, const char *name, int type, const char *content, const char *icon, double period, int allow_duplicate, result_internal_cb_t result_cb, void *data) __attribute__((deprecated));
/**
* @}
+/*
+ * Copyright (c) 2011 - 2016 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 __SHORTCUT_DB_H__
#define __SHORTCUT_DB_H__
char *extra_data;
} shortcut_info_s;
-extern int shortcut_db_get_list(const char *package_name, GList **shortcut_list);
+int shortcut_db_get_list(const char *package_name, GList **shortcut_list);
#ifdef __cplusplus
}
#endif
-#endif /* __SHORTCUT_DB_H__ */
\ No newline at end of file
+#endif /* __SHORTCUT_DB_H__ */
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#ifndef __SHORTCUT_ERROR_H__
#define __SHORTCUT_ERROR_H__
*
* @see shortcut_remove_cb
*/
-extern int shortcut_set_remove_cb(shortcut_remove_cb remove_cb, void *user_data);
+int shortcut_set_remove_cb(shortcut_remove_cb remove_cb, void *user_data);
/**
* @internal
* @endcode
*/
-extern int shortcut_remove_from_home(const char *name, result_cb_t result_cb, void *user_data);
+int shortcut_remove_from_home(const char *name, result_cb_t result_cb, void *user_data);
int _dbus_init(void);
int _dbus_signal_init();
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#ifndef __SHORTCUT_MANAGER_H__
#define __SHORTCUT_MANAGER_H__
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#if !defined(FLOG)
#define DbgPrint(format, arg...) SECURE_LOGD(format, ##arg)
+/*
+ * Copyright (c) 2011 - 2016 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.
+ *
+ */
+
#include <dlog.h>
#include <glib.h>
#include <db-util.h>
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <string.h>
#include <gio/gio.h>
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <gio/gio.h>
#include <stdlib.h>
#include <errno.h>
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <gio/gio.h>
#include <stdlib.h>
#include <errno.h>
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#define dlist_remove_data(list, data) do { \
struct dlist *l; \
struct dlist;
-extern struct dlist *dlist_append(struct dlist *list, void *data);
-extern struct dlist *dlist_prepend(struct dlist *list, void *data);
-extern struct dlist *dlist_remove(struct dlist *list, struct dlist *l);
-extern struct dlist *dlist_find_data(struct dlist *list, void *data);
-extern void *dlist_data(struct dlist *l);
-extern struct dlist *dlist_next(struct dlist *l);
-extern struct dlist *dlist_prev(struct dlist *l);
-extern int dlist_count(struct dlist *l);
-extern struct dlist *dlist_nth(struct dlist *l, int nth);
+struct dlist *dlist_append(struct dlist *list, void *data);
+struct dlist *dlist_prepend(struct dlist *list, void *data);
+struct dlist *dlist_remove(struct dlist *list, struct dlist *l);
+struct dlist *dlist_find_data(struct dlist *list, void *data);
+void *dlist_data(struct dlist *l);
+struct dlist *dlist_next(struct dlist *l);
+struct dlist *dlist_prev(struct dlist *l);
+int dlist_count(struct dlist *l);
+struct dlist *dlist_nth(struct dlist *l, int nth);
/* End of a file */
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <stdio.h>
#include <stdlib.h>
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <stdio.h>
#include <errno.h>
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <Elementary.h>
#include <shortcut.h>
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <Elementary.h>
#include <shortcut.h>
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <Elementary.h>
#include <shortcut.h>
/*
- * Copyright (c) 2011 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2011 - 2016 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.
* See the License for the specific language governing permissions and
* limitations under the License.
*
-*/
+ */
#include <Elementary.h>
#include <shortcut.h>