Add PhotoLayout, VideoLayout, MusicLayout code and layout change code
[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         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         CFbMusicLayout(const char *szLayoutId) : CBaseLayout(szLayoutId), m(0) {}
24         virtual ~CFbMusicLayout() {}
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 };
32
33
34 #endif /* __FBMUSIC_LAYOUT_H__ */