#ifndef __EXT_BASE_LAYOUT_H__
#define __EXT_BASE_LAYOUT_H
-#include "BaseLayout.h"
-
class CExtBaseLayout : public CBaseLayout {
private:
bool m_bEmptyStatus;
* limitations under the License.
*/
-
#ifndef __FOLDER_STORAGE_H__
#define __FOLDER_STORAGE_H__
#ifndef __ALBUM_INFO_H__
#define __ALBUM_INFO_H__
-#include <ExtNameInfo.h>
class CAlbumInfo : public CExtNameInfo {
private:
#define __MUSIC_BASE_VIEW_H__
-#include <CtxPopup.h>
-
-
struct SArgList {
char *album_id;
char *uri;
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);
#ifndef __CATEGORY_INFO_H__
#define __CATEGORY_INFO_H__
-
-#include <Eina.h>
-#include <ExtNameInfo.h>
#include "album_info.h"
class CCategoryInfo : public CExtNameInfo {
#ifndef __COMMON_UI_H__
#define __COMMON_UI_H__
-#include <Elementary.h>
-
enum EAddType;
class CCommonUI {
#ifndef __CONTEXT_VIEW_H__
#define __CONTEXT_VIEW_H__
-
-#include <CtxPopup.h>
-#include "PopupWindow.h"
-
struct SContentInfo;
struct SRltvCtnt;
private:
static void sm_CbRltdCtntSelected(void *data, Evas_Object *obj, const char *emission, const char *source);
- static void sm_CbRemove(void* cookie, CPopupWindow *instance);
- void m_OnRemove(CPopupWindow *instance);
+ static void sm_CbRemove(void* cookie, CMessagePopup *instance);
+ void m_OnRemove(CMessagePopup *instance);
- static void sm_CbCancel(void* cookie, CPopupWindow *instance);
- void m_OnCancel(CPopupWindow *instance);
+ static void sm_CbCancel(void* cookie, CMessagePopup *instance);
+ void m_OnCancel(CMessagePopup *instance);
static int sm_CbSortPlaylist(const void *d1, const void *d2);
static Eina_Bool sm_CbSelectIdler(void *dt);
Eina_Bool m_OnSelectIdler(void);
- 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);
bool m_CreateMoreinfoLayout(SRltvCtnt *rctnt, Evas_Object *img);
bool m_CreateInfoPart(void);
bool m_CreateFullView(void);
- CCtxPopup *m_CreatePlaylistPopup(void);
- CPopupWindow *m_CreateRemovePopup(Evas_Object *base, const char *msg);
+ CContextPopup *m_CreatePlaylistPopup(void);
+ CMessagePopup *m_CreateRemovePopup(Evas_Object *base, const char *msg);
void m_DestroyPopup(void);
void m_HandleBtnSelected(int btnType);
void m_HandleMoreinfoSelected(Evas_Object *obj);
#ifndef __FOLDER_INFO_H__
#define __FOLDER_INFO_H__
-#include <NameInfo.h>
-
class CFolderInfo : public CNameInfo {
private:
struct SFolderInfo *m;
struct album_info;
struct category_info;
-
#include <media_content.h>
#include "common.h"
-#include <MediaContentDbListener.h>
-
class CPlaylistMgr {
public:
};
-class CMediadata : public CMediaContentDbUpdateListener, public CPlaylistMgr {
+class CMediadata : public CMediaContentListener, public CPlaylistMgr {
private:
struct SMediadata* m;
static Eina_List *PlaylistsForCtxt(void);
public:
- virtual void OnUpdated(const SEntity *entity);
+ virtual void OnDbUpdated(const SEntity *entity);
};
#ifndef __MUSIC_CONTROLLER_H__
#define __MUSIC_CONTROLLER_H__
-
-#include <Eina.h>
-#include <UsbConnectionListener.h>
#include "playback-mgr.h"
-
class IMusicControllerListener {
public:
enum SUsbStorageStatus {
#include <player.h>
-
class ICompleteListener {
public:
virtual void t_OnPlayComplete(void) = 0;
#include "common.h"
-#include "CtxPopup.h"
-
struct SItemInfo;
-
class CSliderWidget :
public CListenerMgr,
public IMusicControllerListener,
static void sm_CbCtxtClose(void *dt);
void m_OnCtxtClose(void);
- 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);
private:
void m_HandleKeyPress(char *keyname);
#define __PLAYLIST_MGR_H__
-#include <Eina.h>
-
-
struct SSongInfo;
-
class CPlaylist {
private:
struct SPlaylist* m;
#ifndef __SONG_INFO_H__
#define __SONG_INFO_H__
-#include <ExtNameInfo.h>
-
class CSongInfo : public CExtNameInfo {
private:
struct SSongInfo *m;
#ifndef __VOLUME_CONTROL_H__
#define __VOLUME_CONTROL_H__
-
class CVolumeController {
public:
static bool Mute(void);
*/
-#include <Eina.h>
#include <media_content.h>
#include <sys/time.h>
#include <stdlib.h>
#include <string.h>
+
#include "dbg.h"
#include "i18n.h"
#include "define.h"
* limitations under the License.
*/
-#include <Eina.h>
#include <media_content.h>
#include <sys/time.h>
#include <stdlib.h>
#include <string.h>
+
#include "dbg.h"
#include "i18n.h"
#include "define.h"
#include <stdlib.h>
#include <string.h>
-#include <AppCommon.h>
#include "dbg.h"
#include "i18n.h"
+#include <AppCommon.h>
#include "album_info.h"
#include <stdlib.h>
#include <string.h>
-#include <Eina.h>
-#include <AppCommon.h>
#include "dbg.h"
#include "i18n.h"
+#include <AppCommon.h>
#include "define.h"
#include "category_info.h"
#include <stdlib.h>
#include <string.h>
-#include <AppCommon.h>
#include "dbg.h"
#include "i18n.h"
-#include <NameInfo.h>
+#include <AppCommon.h>
#include "folder_info.h"
* limitations under the License.
*/
-#include <Eina.h>
#include <media_content.h>
#include <sys/time.h>
#include <stdlib.h>
_CREATE_BEGIN{
_CHECK(m = new SMediadata)
_CHECK(media_content_connect() == MEDIA_CONTENT_ERROR_NONE)
- _CHECK(CMediaContentDbUpdateListener::Create())
+ _CHECK(CMediaContentListener::Create())
_WHEN_SUCCESS{
m->source_type = SOURCE_TYPE_NONE;
}
- _CHECK_FAIL{ CMediaContentDbUpdateListener::Destroy(); }
+ _CHECK_FAIL{ CMediaContentListener::Destroy(); }
_CHECK_FAIL{ media_content_disconnect(); }
_CHECK_FAIL{ delete m; m = NULL; }
}_CREATE_END_AND_CATCH{ return false; }
delete cbinfo;
}
- CMediaContentDbUpdateListener::Destroy();
+ CMediaContentListener::Destroy();
r = media_content_disconnect();
if (r != MEDIA_CONTENT_ERROR_NONE)
}
-void CMediadata::OnUpdated(const SEntity *entity)
+void CMediadata::OnDbUpdated(const SEntity *entity)
{
Eina_List *l = NULL;
SCbInfo *cbinfo = NULL;
#include <stdlib.h>
#include <string.h>
-#include <AppCommon.h>
#include "dbg.h"
#include "i18n.h"
+#include <AppCommon.h>
#include "song_info.h"
* limitations under the License.
*/
-#include <app.h>
-#include <Elementary.h>
#include "dbg.h"
+#include <AppCommon.h>
-
-#include <InputHandler.h>
-#include <SortMgr.h>
#include "song_info.h"
#include "album_info.h"
#include "define.h"
#include "common.h"
#include "music-controller.h"
-#include "BaseApp.h"
-#include "BaseView.h"
-#include "BaseLayout.h"
-#include "ViewMgr.h"
#include "base-view.h"
#include "playback-view.h"
#include "context-view.h"
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include <app.h>
+
#include <string.h>
#include <stdlib.h>
#include "dbg.h"
#include "i18n.h"
-
#include <AppCommon.h>
#include "song_info.h"
// Even if CUsbConnectionListener creation failed,
// application should run properly.
- if (!CUsbConnectionListener::Create())
+ if (!CUsbListener::Create())
_DBG("CUsbConnectionListener::Create failed");
}
void CMusicControllerImpl::Destroy(void)
{
- if (CUsbConnectionListener::FlagCreate())
- CUsbConnectionListener::Destroy();
+ if (CUsbListener::FlagCreate())
+ CUsbListener::Destroy();
if (!m->pPlayback->UnsetCallback())
_ERR(" playback remove completion callback failed");
class CMusicControllerImpl :
- public CUsbConnectionListener,
+ public CUsbListener,
public ICompleteListener {
private:
struct SMusicControllerImpl *m;
*/
#include <stdlib.h>
-#include <AppCommon.h>
#include "i18n.h"
#include "dbg.h"
+#include <AppCommon.h>
#include "playback-mgr.h"
* limitations under the License.
*/
-#include <app.h>
#include <stdlib.h>
#include <string.h>
-#include <AppCommon.h>
#include "dbg.h"
#include "i18n.h"
+#include <AppCommon.h>
#include "song_info.h"
#include "playlist-mgr.h"
#include "time.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <AppCommon.h>
-#include <ViewMgr.h>
-#include <LayoutMgr.h>
-#include <BaseView.h>
-#include <BaseLayout.h>
#include "dbg.h"
+#include <AppCommon.h>
#include "ExtBaseLayout.h"
* limitations under the License.
*/
-#include <Elementary.h>
#include "dbg.h"
#include "define.h"
#include <AppCommon.h>
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include <Ecore.h>
#include "i18n.h"
+#include "dbg.h"
#include "define.h"
#include "common.h"
-#include "ExtNameInfo.h"
#include "Info.h"
+#include <AppCommon.h>
struct SInfo {
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <AppCommon.h>
#include "i18n.h"
#include "define.h"
#include "dbg.h"
+#include <AppCommon.h>
#include "common.h"
#include "Info.h"
-#include "CtxPopup.h"
-#include <MediaContentDbListener.h>
-#include <UsbConnectionListener.h>
-#include <app-res-defines.h>
#include "PlayListCtxPopup.h"
void CPlayListCtxPopup::t_OnConfiguration(void)
{
t_SetList((const char **)m->settingTexts, m->listSize, 0,
- CCtxPopup::TOPBTN_BASE, (const char **)m->btnIds,
+ CContextPopup::TOPBTN_BASE, (const char **)m->btnIds,
POSITION_PLAY_LIST_POPUP_X, POSITION_PLAY_LIST_POPUP_Y,
MUSIC_STYLE_LIST_POPUP,
MUSIC_STYLE_TOPTEXT_BTN, MUSIC_STYLE_MIDDLETEXT_BTN, MUSIC_STYLE_BOTTOMTEXT_BTN);
return;
CInfo::SetPlayListDbId(m->dbIds[index]);
- CCtxPopup::t_OnBtnClicked(obj, ev);
+ CContextPopup::t_OnBtnClicked(obj, ev);
Destroy();
}
_CHECK(m->dbIds = new int[m->listSize])
_COMMAND{ memset(m->dbIds, 0, m->listSize * sizeof(int)); }
_CHECK(m_SetBtnString(playList))
- _CHECK(CCtxPopup::Create(base, callback, true))
+ _CHECK(CContextPopup::Create(base, callback, true))
- _CHECK_FAIL{ CCtxPopup::Destroy(); }
+ _CHECK_FAIL{ CContextPopup::Destroy(); }
_CHECK_FAIL{ m_DeleteBtnString(); }
_CHECK_FAIL{ delete[] m->dbIds; }
_CHECK_FAIL{ delete[] m->btnIds; }
void CPlayListCtxPopup::Destroy(void)
{
- CCtxPopup::Destroy();
+ CContextPopup::Destroy();
m_DeleteBtnString();
#ifndef __PLAYLIST_CTX_POPUP_H__
#define __PLAYLIST_CTX_POPUP_H__
-#include <CtxPopup.h>
-class CPlayListCtxPopup : public CCtxPopup {
+class CPlayListCtxPopup : public CContextPopup {
private:
struct SPlayListCtxPopup *m;
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include <Ecore.h>
#include "i18n.h"
#include "define.h"
#include "common.h"
#include "Info.h"
-#include "CtxPopup.h"
-#include <MediaContentDbListener.h>
-#include <UsbConnectionListener.h>
-#include <app-res-defines.h>
+#include "dbg.h"
+#include <AppCommon.h>
#include "PlaySettingCtxPopup.h"
-
#define TOTAL_SETTING_BTNS 2
const char *settingText[TOTAL_SETTING_BTNS] = {
void CPlaySettingCtxPopup::t_OnConfiguration(void)
{
t_SetList(settingText, TOTAL_SETTING_BTNS, 0,
- CCtxPopup::TOPBTN_BASE, settingBtnId,
+ CContextPopup::TOPBTN_BASE, settingBtnId,
POSITION_PLAY_SETTING_POPUP_X, POSITION_PLAY_SETTING_POPUP_Y,
NULL,
MUSIC_STYLE_SETTING_BTN_T, MUSIC_STYLE_SETTING_BTN_T, MUSIC_STYLE_SETTING_BTN_B);
return;
CInfo::SetPlaybackSettingType(index);
- CCtxPopup::t_OnBtnClicked(obj, ev);
+ CContextPopup::t_OnBtnClicked(obj, ev);
Destroy();
}
\ No newline at end of file
#ifndef __PLAYSETTING_CTX_POPUP_H__
#define __PLAYSETTING_CTX_POPUP_H__
-#include <CtxPopup.h>
-class CPlaySettingCtxPopup : public CCtxPopup {
+class CPlaySettingCtxPopup : public CContextPopup {
protected:
virtual void t_OnConfiguration(void);
virtual void t_OnBtnClicked(Evas_Object* obj, void* ev);
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include <Ecore.h>
-#include <InputHandler.h>
-#include <PopupWindow.h>
#include "i18n.h"
#include "define.h"
#include "dbg.h"
+#include <AppCommon.h>
#include "common.h"
#include "RemovePopupWindow.h"
{
m_msg = msg;
- if (!CPopupWindow::Create(base, callback)) {
+ if (!CMessagePopup::Create(base, callback)) {
_ERR("Creation of remove popup failed");
return false;
}
#ifndef __REMOVE_POPUP_WINDOW_H__
#define __REMOVE_POPUP_WINDOW_H__
-#include <PopupWindow.h>
-
-class CRemovePopupWindow : public CPopupWindow {
+class CRemovePopupWindow : public CMessagePopup {
private:
const char *m_msg;
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include <Ecore.h>
#include "i18n.h"
#include "define.h"
-#include <AppCommon.h>
#include "dbg.h"
+#include <AppCommon.h>
#include "Info.h"
-#include "CtxPopup.h"
-#include <app-res-defines.h>
#include "SortCtxPopup.h"
const char *sortTextSong[] = {
void CSortCtxPopup::t_OnConfiguration(void)
{
t_SetList(sortText, arraySize, (int)CInfo::SortType(),
- CCtxPopup::TOPBTN_SORT, sortBtnIds,
+ CContextPopup::TOPBTN_SORT, sortBtnIds,
POSITION_SORT_POPUP_X, POSITION_SORT_POPUP_Y,
NULL,
MUSIC_STYLE_HOVER_ENTRY, MUSIC_STYLE_HOVER_ENTRY, MUSIC_STYLE_HOVER_ENTRY);
if (index != CInfo::SortType()) {
CInfo::SetSortType(index);
- CCtxPopup::t_OnBtnClicked(obj, ev);
+ CContextPopup::t_OnBtnClicked(obj, ev);
}
Destroy();
break;
}
- bool r = CCtxPopup::Create(base, callback);
+ bool r = CContextPopup::Create(base, callback);
if (r == false) {
- _ERR("CCtxPopup::Create failed");
+ _ERR("CContextPopup::Create failed");
return false;
}
#define __SORT_CTX_POPUP_H__
-class CSortCtxPopup : public CCtxPopup {
+class CSortCtxPopup : public CContextPopup {
public:
enum ESortBtnType {
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include <Ecore.h>
#include "i18n.h"
#include "define.h"
#include "common.h"
#include "Info.h"
-#include "CtxPopup.h"
-#include <MediaContentDbListener.h>
-#include <UsbConnectionListener.h>
-#include <app-res-defines.h>
+#include "dbg.h"
+#include <AppCommon.h>
#include "SourceCtxPopup.h"
const char *sourceText[] = {
int size = (sizeof(sourceText) / sizeof(sourceText[0]));
t_SetList(sourceText, size, (int)CInfo::SourceType(),
- CCtxPopup::TOPBTN_SOURCE, srcBtnIds,
+ CContextPopup::TOPBTN_SOURCE, srcBtnIds,
POSITION_SOURCE_POPUP_X, POSITION_SOURCE_POPUP_Y,
NULL,
MUSIC_STYLE_HOVER_ENTRY, MUSIC_STYLE_HOVER_ENTRY, MUSIC_STYLE_HOVER_ENTRY);
if (index != CInfo::SourceType()) {
CInfo::SetSourceType(index);
- CCtxPopup::t_OnBtnClicked(obj, ev);
+ CContextPopup::t_OnBtnClicked(obj, ev);
}
Destroy();
#define __SOURCE_CTX_POPUP_H__
-class CSourceCtxPopup : public CCtxPopup {
+class CSourceCtxPopup : public CContextPopup {
protected:
virtual void t_OnConfiguration(void);
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-
-#include <AppCommon.h>
-#include <InputHandler.h>
-#include <SortMgr.h>
-
#include "dbg.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "define.h"
#include "common.h"
#include "album_info.h"
#include "song_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "common-ui.h"
-#include "BaseView.h"
-#include "BaseLayout.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "album-layout.h"
#include "album-songs-layout.h"
-#include "base-view.h"
#include "Info.h"
#define GENGRID_ITEM_SIZE_W (263+20)
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-
-#include "AppCommon.h"
-#include "InputHandler.h"
-
#include "dbg.h"
#include "i18n.h"
+#include <AppCommon.h>
#include "define.h"
#include "common.h"
#include "song_info.h"
#include "album_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "album-songs-layout.h"
#include "base-view.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include "AppCommon.h"
-#include <InputHandler.h>
#include "dbg.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "define.h"
#include "album_info.h"
#include "song_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "entry-popup.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "category-layout.h"
#include "base-view.h"
#include "artist-layout.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include "AppCommon.h"
#include "i18n.h"
#include "define.h"
#include "dbg.h"
-
-#include "AppCommon.h"
-#include "InputHandler.h"
+#include <AppCommon.h>
#include "common.h"
#include "song_info.h"
#include "folder_info.h"
#include "category_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
-#include "BaseView.h"
-#include "BaseLayout.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
-#include <CtxPopup.h>
#include "Info.h"
#include "SourceCtxPopup.h"
#include "SortCtxPopup.h"
void CMusicBaseView::m_CreateCtxPopup(int btnType)
{
const char *layout_id = NULL;
- CCtxPopup::SCallback cb;
+ CContextPopup::SCallback cb;
cb.onSelected = sm_CbCtxPopupBtnSelected;
cb.cookie = this;
}
-void CMusicBaseView::sm_CbCtxPopupBtnSelected(void* cookie, CCtxPopup* instance, const char* text)
+void CMusicBaseView::sm_CbCtxPopupBtnSelected(void* cookie, CContextPopup* instance, const char* text)
{
CMusicBaseView *root = (CMusicBaseView*)cookie;
if (root)
}
-void CMusicBaseView::m_CbCtxPopupBtnSelected(CCtxPopup* instance, const char* text)
+void CMusicBaseView::m_CbCtxPopupBtnSelected(CContextPopup* instance, const char* text)
{
if (m->btntype == BTN_SOURCE) {
elm_object_text_set(m->srcbtn, _(text));
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-
-#include "AppCommon.h"
-#include <InputHandler.h>
-#include <SortMgr.h>
#include "dbg.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "define.h"
#include "album_info.h"
#include "song_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "entry-popup.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "category-layout.h"
#include "base-view.h"
#include "Info.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-
-#include "AppCommon.h"
-#include "InputHandler.h"
-
#include "dbg.h"
#include "i18n.h"
+#include <AppCommon.h>
+
#include "define.h"
#include "common.h"
#include "song_info.h"
#include "album_info.h"
#include "category_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "category-songs-layout.h"
#include "base-view.h"
#include "category-layout.h"
* limitations under the License.
*/
-#include <Eina.h>
-#include <AppCommon.h>
#include "i18n.h"
#include "define.h"
#include "dbg.h"
+#include <AppCommon.h>
#include "common.h"
#include "common-ui.h"
-#include "BaseView.h"
-#include "ViewMgr.h"
#include "song_info.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include "AppCommon.h"
-#include <InputHandler.h>
#include "dbg.h"
#include "i18n.h"
+#include <AppCommon.h>
#include "define.h"
#include "song_info.h"
#include "album_info.h"
#include "common-ui.h"
#include "music-controller.h"
#include "mediadata.h"
-#include "BaseView.h"
-#include "ViewMgr.h"
#include "context-view.h"
#include "PlayListCtxPopup.h"
-#include "PopupWindow.h"
#include "RemovePopupWindow.h"
#include "Info.h"
}
-void CContextView::sm_CbRemove(void* cookie, CPopupWindow *instance)
+void CContextView::sm_CbRemove(void* cookie, CMessagePopup *instance)
{
CContextView *root = (CContextView *)cookie;
if (root)
}
-void CContextView::m_OnRemove(CPopupWindow *instance)
+void CContextView::m_OnRemove(CMessagePopup *instance)
{
SContentInfo *cinfo = NULL;
}
-void CContextView::sm_CbCancel(void* cookie, CPopupWindow *instance)
+void CContextView::sm_CbCancel(void* cookie, CMessagePopup *instance)
{
CContextView *root = (CContextView *)cookie;
if (root)
}
-void CContextView::m_OnCancel(CPopupWindow *instance)
+void CContextView::m_OnCancel(CMessagePopup *instance)
{
if (!instance) {
_ERR("Invalid argument.");
}
-void CContextView::sm_CbCtxPopupBtnSelected(void* cookie, CCtxPopup* instance, const char* text)
+void CContextView::sm_CbCtxPopupBtnSelected(void* cookie, CContextPopup* instance, const char* text)
{
CContextView *root = (CContextView*)cookie;
if (root)
}
-void CContextView::m_CbCtxPopupBtnSelected(CCtxPopup* instance, const char* text)
+void CContextView::m_CbCtxPopupBtnSelected(CContextPopup* instance, const char* text)
{
m->lid = CInfo::PlayListDbId();
m->idler = ecore_idler_add(sm_CbSelectIdler, this);
}
-CCtxPopup *CContextView::m_CreatePlaylistPopup(void)
+CContextPopup *CContextView::m_CreatePlaylistPopup(void)
{
CPlayListCtxPopup *ctxpopup = NULL;
Eina_List *list = NULL;
return NULL;
}
- CCtxPopup::SCallback cb;
+ CContextPopup::SCallback cb;
cb.onSelected = sm_CbCtxPopupBtnSelected;
cb.cookie = this;
r = ctxpopup->Create(m->base, &cb, list);
}
-CPopupWindow *CContextView::m_CreateRemovePopup(Evas_Object *base, const char *msg)
+CMessagePopup *CContextView::m_CreateRemovePopup(Evas_Object *base, const char *msg)
{
CRemovePopupWindow *popup;
return NULL;
}
- CPopupWindow::SCallback cb;
+ CMessagePopup::SCallback cb;
cb.cookie = this;
cb.onBtn1Pressed = sm_CbRemove;
cb.onBtn2Pressed = sm_CbCancel;
* limitations under the License.
*/
-#include <Elementary.h>
#include "i18n.h"
#include "define.h"
-#include "common.h"
-#include "common-ui.h"
#include "dbg.h"
#include <AppCommon.h>
-#include <InputHandler.h>
+
+#include "common.h"
+#include "common-ui.h"
#include "entry-popup.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-
-#include "AppCommon.h"
-#include <InputHandler.h>
#include "dbg.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "define.h"
-#include <SortMgr.h>
#include "common.h"
#include "folder_info.h"
#include "album_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "folder-layout.h"
#include "base-view.h"
#include "Info.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-#include "AppCommon.h"
-#include <InputHandler.h>
#include "dbg.h"
+#include <AppCommon.h>
#include "i18n.h"
#include "define.h"
#include "album_info.h"
#include "song_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "entry-popup.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "category-layout.h"
#include "base-view.h"
#include "genre-layout.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
-
-#include "AppCommon.h"
-#include <InputHandler.h>
-
#include "define.h"
#include "common.h"
#include "dbg.h"
+#include <AppCommon.h>
+
#include "song_info.h"
#include "album_info.h"
#include "music-controller.h"
#include "volume-control.h"
#include "i18n.h"
#include "common-ui.h"
-#include "BaseView.h"
-#include "ViewMgr.h"
#include "playback-view.h"
#include "context-view.h"
#include "HandleVolume.h"
-#include <app-res-defines.h>
#include "PlaySettingCtxPopup.h"
#include "Info.h"
}
-void CPlaybackView::sm_CbCtxPopupBtnSelected(void* cookie, CCtxPopup* instance, const char* text)
+void CPlaybackView::sm_CbCtxPopupBtnSelected(void* cookie, CContextPopup* instance, const char* text)
{
CPlaybackView *root = (CPlaybackView *)cookie;
if (root)
}
-void CPlaybackView::m_CbCtxPopupBtnSelected(CCtxPopup* instance, const char* text)
+void CPlaybackView::m_CbCtxPopupBtnSelected(CContextPopup* instance, const char* text)
{
int type = CInfo::PlaybackSettingType();
void CPlaybackView::m_CreateSettingsPopup(void)
{
- CCtxPopup::SCallback cb;
+ CContextPopup::SCallback cb;
cb.cookie = this;
cb.onSelected = sm_CbCtxPopupBtnSelected;
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
#include "dbg.h"
#include "i18n.h"
-
-#include "AppCommon.h"
-#include <InputHandler.h>
+#include <AppCommon.h>
#include "define.h"
#include "common.h"
#include "album_info.h"
#include "song_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "entry-popup.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "category-layout.h"
#include "base-view.h"
#include "playlist-layout.h"
* limitations under the License.
*/
-#include <Elementary.h>
-#include <Eina.h>
#include "dbg.h"
#include "i18n.h"
-
-#include "AppCommon.h"
-#include "InputHandler.h"
-#include <SortMgr.h>
+#include <AppCommon.h>
#include "define.h"
#include "common.h"
#include "song_info.h"
#include "album_info.h"
#include "music-controller.h"
-#include "LayoutMgr.h"
#include "common-ui.h"
-#include "BaseView.h"
#include "ExtBaseLayout.h"
-#include "ViewMgr.h"
#include "song-layout.h"
#include "base-view.h"
#include "Info.h"