Apply latest application API
[profile/tv/apps/native/filebrowser.git] / include / FbMusicLayout.h
1 #ifndef __FBMUSIC_LAYOUT_H__
2 #define __FBMUSIC_LAYOUT_H__
3
4
5 class CFbMusicLayout : public CBaseLayout {
6 private:
7         struct SFbMusicLayout *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         CFbMusicLayout(const char *szLayoutId) : CBaseLayout(szLayoutId), m(0) {}
21         virtual ~CFbMusicLayout() {}
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 /* __FBMUSIC_LAYOUT_H__ */