f9a644b80afd8db5fefddc7b1caba364bea8b4b3
[platform/framework/web/livebox-cpp.git] / include / livebox-impl.h
1 /*
2  * Copyright 2013  Samsung Electronics Co., Ltd
3  *
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
7  *
8  * http://floralicense.org/license/
9  *
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.
15  */
16
17 class CLiveBoxImpl : public CLiveBox
18 {
19 public:
20         CLiveBoxImpl(void);
21         virtual ~CLiveBoxImpl(void);
22
23         int Create(const char *filename, const char *content, const char *cluster, const char *category);
24         int Destroy(void);
25
26         int NeedToCreate(void);
27         int UpdateContent(void);
28
29         int Clicked(const char *event, double timestamp, double x, double y);
30         int ContentEvent(const char *emission, const char *source, struct event_info *info);
31
32         int Resize(int type);
33         int ChangeGroup(const char *cluster, const char *category);
34         int GetInfo(int *w, int *h, double *priority, char **content, char **title);
35         char *PinUp(int on_pin);
36         const char *Filename(void);
37         int IsPinnedUp(void);
38         int SystemEvent(int event);
39 };
40
41 // End of a file