2 * Copyright 2013 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (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://floralicense.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.
19 static int Initialize(const char *name);
20 static int Finalize(void);
22 static int s_CreateLB(struct event_arg *arg, int *width, int *height, double *priority, void *data);
23 static int s_RecreateLB(struct event_arg *arg, void *data);
24 static int s_DestroyLB(struct event_arg *arg, void *data);
25 static int s_ContentEvent(struct event_arg *arg, void *data);
26 static int s_Clicked(struct event_arg *arg, void *data);
27 static int s_TextEvent(struct event_arg *arg, void *data);
28 static int s_Resize(struct event_arg *arg, void *data);
29 static int s_SetPeriod(struct event_arg *arg, void *data);
30 static int s_ChangeGroup(struct event_arg *arg, void *data);
31 static int s_Pinup(struct event_arg *arg, void *data);
32 static int s_UpdateContent(struct event_arg *arg, void *data);
33 static int s_Pause(struct event_arg *arg, void *data);
34 static int s_Resume(struct event_arg *arg, void *data);
35 static int s_Disconnected(struct event_arg *arg, void *data);
36 static int s_Connected(struct event_arg *arg, void *data);
37 static int s_CreatePD(struct event_arg *arg, void *data);
38 static int s_DestroyPD(struct event_arg *arg, void *data);
39 static Eina_Bool s_PingHandler(void *data);
43 virtual ~CController(void);
47 static CController *m_pInstance;
48 static Ecore_Timer *m_pPing;
50 static const double m_nPingInterval;