ba1a7c59e366c3bb2184c0545913f50dae5957e3
[profile/tv/apps/native/filebrowser.git] / include / FbVideoLayout.h
1 #ifndef __FBVIDEO_LAYOUT_H__
2 #define __FBVIDEO_LAYOUT_H__
3
4
5 class CFbVideoLayout : public CBaseLayout {
6 private:
7         struct SFbVideoLayout *m;
8
9 private:
10         bool t_CreateFileGrid(Evas_Object *layout);
11         void t_DestroyFileGrid(void);
12
13 protected:
14         //! Show this layout instance. This function is invoked by CLayoutMgr.
15         virtual void t_OnShow(void);
16         //! Hide this layout instance. this function is invoked by CLayoutMgr.
17         virtual void t_OnHide(void);
18
19 public:
20         CFbVideoLayout(const char *szLayoutId) : CBaseLayout(szLayoutId), m(0) {}
21         virtual ~CFbVideoLayout() {}
22
23         bool Create(CLayoutMgr *mgr, void *data);
24         virtual void Destroy(void);
25
26         void Update(bool flag);
27
28         void SetFocus(Eina_Bool flag);
29         Evas_Object* Grid(void);
30         void Action(void);
31 };
32
33
34 #endif /* __FBVIDEO_LAYOUT_H__ */