Modify the license sentence 78/94778/1
authorMyungki Lee <mk5004.lee@samsung.com>
Tue, 1 Nov 2016 07:05:55 +0000 (16:05 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Tue, 1 Nov 2016 07:05:55 +0000 (16:05 +0900)
- delete some extern sentence

Change-Id: I384e0627ba5ab719d42deac6199abce0fd1173a5
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
17 files changed:
lib/include/shortcut.h
lib/include/shortcut_db.h
lib/include/shortcut_error.h
lib/include/shortcut_internal.h
lib/include/shortcut_manager.h
lib/include/shortcut_private.h
lib/src/shortcut_db.c
lib/src/shortcut_error.c
lib/src/shortcut_internal.c
lib/src/shortcut_manager.c
pkgmgr_shortcut/include/dlist.h
pkgmgr_shortcut/src/dlist.c
pkgmgr_shortcut/src/service_register.c
test/application.c
test/homescreen.c
test/icon.c
test/shortcut.c

index 5f66db121637a1134ede4ea22f017ddb92e657e8..8cd28a415d444220aeb14657a0a60a6295245d75 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #ifndef __SHORTCUT_H__
 #define __SHORTCUT_H__
@@ -103,8 +103,8 @@ GQuark shortcut_error_quark(void);
 #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));
 
 /**
  * @}
index 4c51f7d8e38d9a283e6d29862edf135dc54174c3..905b9f3eda9d8ac4d0b35b41701775a70e4f4eb2 100644 (file)
@@ -1,3 +1,19 @@
+/*
+ * 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__
@@ -18,11 +34,11 @@ typedef struct shortcut_info {
        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__ */
index 185078da680b2e1d1169c879e32a89e0e5a2dbc6..f39d352c6a6df63324712786e6d9fc8a6b059b87 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #ifndef __SHORTCUT_ERROR_H__
 #define __SHORTCUT_ERROR_H__
index 923fe66a4b733ab69c1761e62cc117bff2435af3..060e5544617ee38d13258e6cd995ed8cc39c10ad 100755 (executable)
@@ -102,7 +102,7 @@ typedef int (*shortcut_remove_cb)(const char *package_name, const char *name, in
  *
  * @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
@@ -161,7 +161,7 @@ extern int shortcut_set_remove_cb(shortcut_remove_cb remove_cb, void *user_data)
 
  * @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();
index 2ff256d08261a6e7636011714a410673aaa25d93..540a4bee9d9f0d0f6c9c0bbd3af02cc5162d389c 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #ifndef __SHORTCUT_MANAGER_H__
 #define __SHORTCUT_MANAGER_H__
index 2654d2c0e26e68a79bd888169d6374a5cad389ef..b031c73e47664c221f7f3266abb5b6de97adc57e 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * 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)
index aacfd97479cd5a97e71c260c52ca5194c8daade6..eb043f8d307977f5f657c0e2aafd312e411ccf51 100755 (executable)
@@ -1,3 +1,20 @@
+/*
+ * 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>
index 00c2b1779c6be3b88c890c81f9ccfdf349878289..9d56e753adc20f66f89f74461803802c9f0f73e9 100755 (executable)
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #include <string.h>
 #include <gio/gio.h>
index 99c2b2a8385d755342d85d7e0fd8e08cbc69db0b..26fb8f9511ea2a8572d95ce09447bf7e40dd5c45 100755 (executable)
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 #include <gio/gio.h>
 #include <stdlib.h>
 #include <errno.h>
index 214707b0edbe35aced2c11817efb7625e8bb456d..38be559d580c3ea582a10e5bdc4a2f08aca9a2fe 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 #include <gio/gio.h>
 #include <stdlib.h>
 #include <errno.h>
index c8929237e9995f7dd29cc0335dfe1ce78eebc4f1..18494bed52999ec52214266fbd90519c0492c1b7 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * 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 */
index 9cdf097c29fc84ad161c1d4eb90b1342fa3348e6..1540c3e73f771c89c19bfcc0546f561ca53f557d 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #include <stdio.h>
 #include <stdlib.h>
index cd0064ee8fe162458e384525d1a0de88e1dd6855..a3db5c218fe6c862d762918a8207fc635a4817f3 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #include <stdio.h>
 #include <errno.h>
index 1d36ddb5418075ef70c480ec2043edc039c2b8e8..9d5f9b57962c1991352464bf14367362c39d3407 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #include <Elementary.h>
 #include <shortcut.h>
index 05e53906e4fce3fb1c2d3d50f22f9d80e24e1227..be4858b68af94d7b7d65fe395dbc02ff23590c82 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #include <Elementary.h>
 #include <shortcut.h>
index fc904c3751496e1e6272919865973aba2a8d5b8a..c5a8cb2558ffb9f69e472cafa176242ade873876 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #include <Elementary.h>
 #include <shortcut.h>
index 7c6bb6f9062c129360c8e2bd527b504e0732d9a9..e849e5bf33182ba3a80fdda8ff3ed15fb2c840a6 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * 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.
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/
+ */
 
 #include <Elementary.h>
 #include <shortcut.h>