Apply the modification of CSortMgr
[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         static void sm_CbUpdateEmptyFocusSequence(void* cookie);
11         static void sm_CbUpdatedGrid(void* cookie);
12         static void sm_CbUnsetFocus(void* cookie);
13         static void sm_CbLinkApp(void* cookie, int type, int source_type, char *path);
14
15         bool t_CreateFileGrid(Evas_Object *layout);
16         void t_DestroyFileGrid(void);
17
18 protected:
19         //! Show this layout instance. This function is invoked by CLayoutMgr.
20         virtual void t_OnShow(void);
21
22 public:
23         CFbVideoLayout(const char *szLayoutId) : CBaseLayout(szLayoutId), m(0) {}
24         virtual ~CFbVideoLayout() {}
25
26         bool Create(CLayoutMgr *mgr, void *data);
27         virtual void Destroy(void);
28
29         void SetFocus(Eina_Bool flag);
30         void Action(void);
31         void SetUpdateFlag(bool flag);
32 };
33
34
35 #endif /* __FBVIDEO_LAYOUT_H__ */