void CMediadataImpl::m_GetFolderList(void)
{
int r;
- _DBG("this: 0x%x", this);
+ _DBG("START: this: 0x%x", this);
r = media_folder_foreach_folder_from_db(m->filter, sm_CbFolderInfo, this);
- _DBG("");
if (r != MEDIA_CONTENT_ERROR_NONE)
_ERR("Media folder foreach folder from db failed");
+ _DBG("END");
}
void CMediadataImpl::m_UpdateFolderLists(void)
RemoveAll();
for (type = E_GRP_ALL; type <= E_GRP_MUSIC; type++) {
+ _DBG("==================================================");
m->media_type = type;
bool r = m_CreateFilter(m->source_type, m->media_type);
m_DestroyFilter(m->filter);
m->filter = NULL;
+ _DBG("==================================================");
}
}
return false;
}
- // ƯÁ¤ Æú´õ ³»¿¡ ÀÖ´Â ÆÄÀϵéÀ» »Ì¾Æ m->filelist¿¡ ³ÖÀ½.
r = m_GetMediaList(folderid);
m_DestroyFilter(m->filter);
char* *pCurrentLayoutId;
CFbAllLayout *pFbAllLayout;
- CFbPhotoLayout *pFbPhotoLayout;
- CFbMusicLayout *pFbMusicLayout;
- CFbVideoLayout *pFbVideoLayout;
+ //CFbPhotoLayout *pFbPhotoLayout;
+ //CFbMusicLayout *pFbMusicLayout;
+ //CFbVideoLayout *pFbVideoLayout;
SFbBaseView() {
int a;
_CHECK(m->pLayoutMgr = new CLayoutMgr)
_CHECK(m->pLayoutMgr->Create(eoBase, NULL))
_CHECK(m->pFbAllLayout = new CFbAllLayout(FB_ALL_LAYOUT))
- _CHECK(m->pFbPhotoLayout = new CFbPhotoLayout(FB_PHOTO_LAYOUT))
- _CHECK(m->pFbVideoLayout = new CFbVideoLayout(FB_VIDEO_LAYOUT))
- _CHECK(m->pFbMusicLayout = new CFbMusicLayout(FB_MUSIC_LAYOUT))
+ //_CHECK(m->pFbPhotoLayout = new CFbPhotoLayout(FB_PHOTO_LAYOUT))
+ //_CHECK(m->pFbVideoLayout = new CFbVideoLayout(FB_VIDEO_LAYOUT))
+ //_CHECK(m->pFbMusicLayout = new CFbMusicLayout(FB_MUSIC_LAYOUT))
_CHECK(m->pFbAllLayout->Create(m->pLayoutMgr, NULL))
- _CHECK(m->pFbPhotoLayout->Create(m->pLayoutMgr, NULL))
- _CHECK(m->pFbVideoLayout->Create(m->pLayoutMgr, NULL))
- _CHECK(m->pFbMusicLayout->Create(m->pLayoutMgr, NULL))
+ //_CHECK(m->pFbPhotoLayout->Create(m->pLayoutMgr, NULL))
+ //_CHECK(m->pFbVideoLayout->Create(m->pLayoutMgr, NULL))
+ //_CHECK(m->pFbMusicLayout->Create(m->pLayoutMgr, NULL))
_CHECK(m->pLayoutMgr->AddLayout(m->pFbAllLayout))
- _CHECK(m->pLayoutMgr->AddLayout(m->pFbPhotoLayout))
- _CHECK(m->pLayoutMgr->AddLayout(m->pFbVideoLayout))
- _CHECK(m->pLayoutMgr->AddLayout(m->pFbMusicLayout))
+ //_CHECK(m->pLayoutMgr->AddLayout(m->pFbPhotoLayout))
+ //_CHECK(m->pLayoutMgr->AddLayout(m->pFbVideoLayout))
+ //_CHECK(m->pLayoutMgr->AddLayout(m->pFbMusicLayout))
_CHECK(CUsbConnectionListener::Create())
_CHECK(CMediaContentDbUpdateListener::Create())
_CHECK_FAIL{ CMediaContentDbUpdateListener::Destroy(); }
_CHECK_FAIL{ CUsbConnectionListener::Destroy(); }
- _CHECK_FAIL{ m->pLayoutMgr->RemoveLayout(m->pFbMusicLayout); }
- _CHECK_FAIL{ m->pLayoutMgr->RemoveLayout(m->pFbVideoLayout); }
- _CHECK_FAIL{ m->pLayoutMgr->RemoveLayout(m->pFbPhotoLayout); }
+ //_CHECK_FAIL{ m->pLayoutMgr->RemoveLayout(m->pFbMusicLayout); }
+ //_CHECK_FAIL{ m->pLayoutMgr->RemoveLayout(m->pFbVideoLayout); }
+ //_CHECK_FAIL{ m->pLayoutMgr->RemoveLayout(m->pFbPhotoLayout); }
_CHECK_FAIL{ m->pLayoutMgr->RemoveLayout(m->pFbAllLayout); }
- _CHECK_FAIL{ m->pFbMusicLayout->Destroy(); }
- _CHECK_FAIL{ m->pFbVideoLayout->Destroy(); }
- _CHECK_FAIL{ m->pFbPhotoLayout->Destroy(); }
+ //_CHECK_FAIL{ m->pFbMusicLayout->Destroy(); }
+ //_CHECK_FAIL{ m->pFbVideoLayout->Destroy(); }
+ //_CHECK_FAIL{ m->pFbPhotoLayout->Destroy(); }
_CHECK_FAIL{ m->pFbAllLayout->Destroy(); }
- _CHECK_FAIL{ delete m->pFbMusicLayout; m->pFbMusicLayout = NULL; }
- _CHECK_FAIL{ delete m->pFbVideoLayout; m->pFbVideoLayout = NULL; }
- _CHECK_FAIL{ delete m->pFbPhotoLayout; m->pFbPhotoLayout = NULL; }
+ //_CHECK_FAIL{ delete m->pFbMusicLayout; m->pFbMusicLayout = NULL; }
+ //_CHECK_FAIL{ delete m->pFbVideoLayout; m->pFbVideoLayout = NULL; }
+ //_CHECK_FAIL{ delete m->pFbPhotoLayout; m->pFbPhotoLayout = NULL; }
_CHECK_FAIL{ delete m->pFbAllLayout; m->pFbAllLayout = NULL; }
_CHECK_FAIL{ m->pLayoutMgr->Destroy(); }
_CHECK_FAIL{ delete m->pLayoutMgr; m->pLayoutMgr = NULL; }
// original create grid
- m->pLayoutMgr->Show(FB_ALL_LAYOUT);
CInfo::SetSortType(0/*CSort::SORT_NAME_AZ*/);
evas_object_data_set(eoBase, BASE_VIEW_DATA, this);
+ m->pLayoutMgr->Show(FB_ALL_LAYOUT);
t_CreateFullView();
elm_object_focus_allow_set(eoBase, EINA_FALSE);
m->pHandlerBase->Connect(eoBase);
CMediaContentDbUpdateListener::Destroy();
CUsbConnectionListener::Destroy();
+#if 0
m->pLayoutMgr->RemoveLayout(m->pFbMusicLayout);
m->pFbMusicLayout->Destroy();
delete m->pFbMusicLayout;
m->pLayoutMgr->RemoveLayout(m->pFbPhotoLayout);
m->pFbPhotoLayout->Destroy();
delete m->pFbPhotoLayout;
+#endif
m->pLayoutMgr->RemoveLayout(m->pFbAllLayout);
m->pFbAllLayout->Destroy();
void CFbBaseView::OnUpdated(const SEntity *entity)
{
+ _DBG();
m->pPopup->Destroy();
delete m->pPopup;
m->pPopup = NULL;