#define __MUSIC_BASE_VIEW_H__
-#include <CtxPopup.h>
-
-
struct SArgList {
char *album_id;
char *uri;
};
-class CMusicBaseView : public CBaseView,
- public IMouseMoveListener, public IMouseClickedListener,
- public IMusicControllerListener
-{
+class CMusicBaseView :
+ public CBaseView,
+ public IMouseMoveListener,
+ public IMouseClickedListener,
+ public IMusicControllerListener {
private:
struct SMusicBaseView* m;
static void sm_CbHandleEmptyStatus(void *cookie, bool emptyStatus);
void m_OnHandleEmptyStatus(bool emptyStatus);
- static void sm_CbCtxPopupBtnSelected(void* cookie, CCtxPopup* instance, const char* text);
- void m_CbCtxPopupBtnSelected(CCtxPopup* instance, const char* text);
+ static void sm_CbCtxPopupBtnSelected(void* cookie, CContextPopup* instance, const char* text);
+ void m_CbCtxPopupBtnSelected(CContextPopup* instance, const char* text);
+
+ static Eina_Bool sm_CbShowLayoutIdler(void *cookie);
+ void m_OnShowLayoutIdler(void);
private:
void m_UpdateFocusSequence(void);
void m_SetSourceType(void);
void m_UpdateCurrentLayout(bool focusFlag);
+ char *m_Argument(void *data);
+
protected:
virtual void t_OnShow(void);
virtual void t_OnHide(void);
m(0) {}
virtual ~CMusicBaseView() {}
- virtual bool Create(void *data);
+ virtual bool Create(void *data, Evas_Object *eoBase);
virtual void Destroy(void);
- virtual Evas_Object* Base(void);
-
public:
- virtual void OnKeyDown(int id, Evas *e, Evas_Object *obj, Evas_Event_Key_Down *ev);
- virtual void OnKeyUp(int id, Evas *e, Evas_Object *obj, Evas_Event_Key_Up *ev);
+ virtual void OnSKeyDown(int id, Evas *e, Evas_Object *obj, Evas_Event_SKey_Down *ev);
+ virtual void OnSKeyUp(int id, Evas *e, Evas_Object *obj, Evas_Event_SKey_Up *ev);
virtual void OnMouseMove(int id, Evas *e, Evas_Object *obj, Evas_Event_Mouse_Move *ev);
virtual void OnMouseClicked(int id, Evas_Object *obj);
-
-protected:
- virtual void t_OnComplete(void);
- virtual void t_OnError(void);
- virtual void t_OnUsbConnected(void);
- virtual void t_OnUpdateContent(void);
+ virtual void OnComplete(void);
+ virtual void OnError(void);
+ virtual void OnUsbStatusChanged(SUsbStorageStatus status);
+ virtual void OnUpdateContent(void);
};