2 * Copyright 2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 extern int livebox_initialize(const char *pkgname);
21 extern int livebox_finalize(const char *pkgname);
23 extern int livebox_create(const char *pkgname, const char *filename, const char *content, const char *cluster, const char *category);
24 extern int livebox_destroy(const char *pkgname, const char *filename);
25 extern int livebox_need_to_update(const char *pkgname, const char *filename);
26 extern int livebox_need_to_destroy(const char *pkgname, const char *filename);
27 extern int livebox_update_content(const char *pkgname, const char *filename);
30 * \param[in] event "clicked" only
32 extern int livebox_clicked(const char *pkgname, const char *filename, const char *event, double timestamp, double x, double y);
35 * if "source" == "filename", emission could be "pd,show", "pd,hide", "lb,show", "lb,hide".
37 extern int livebox_content_event(const char *pkgname, const char *filename, const char *emission, const char *source, struct event_info *event_info);
38 extern int livebox_resize(const char *pkgname, const char *filename, int type);
39 extern int livebox_change_group(const char *pkgname, const char *filename, const char *cluster, const char *category);
40 extern int livebox_get_info(const char *pkgname, const char *filename, int *w, int *h, double *priority, char **content, char **title);
41 extern int livebox_need_to_create(const char *pkgname, const char *cluster, const char *category);
42 extern char *livebox_pinup(const char *pkgname, const char *filename, int pinup);
43 extern int livebox_is_pinned_up(const char *pkgname, const char *filename);
44 extern int livebox_system_event(const char *pkgname, const char *filename, int event);