From: Kim Tae Soo Date: Tue, 10 Mar 2015 23:38:07 +0000 (+0900) Subject: Apply the modification of CSortMgr X-Git-Tag: accepted/tizen/tv/20150312.010704~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f8227f2dea411b0b8c9cb8a749b6b5ffe70717e;p=profile%2Ftv%2Fapps%2Fnative%2Ffilebrowser.git Apply the modification of CSortMgr Change-Id: I1e0d32092e5c450d15dfc87a542094ee840e1798 Signed-off-by: Kim Tae Soo Signed-off-by: Kim Youngjin --- diff --git a/include/FbAllLayout.h b/include/FbAllLayout.h index 03f2be1..9f1e831 100644 --- a/include/FbAllLayout.h +++ b/include/FbAllLayout.h @@ -26,7 +26,7 @@ public: bool Create(CLayoutMgr *mgr, void *data); virtual void Destroy(void); - void SetFocus(bool flag); + void SetFocus(Eina_Bool flag); void Action(void); void SetUpdateFlag(bool flag); }; diff --git a/include/FbMusicLayout.h b/include/FbMusicLayout.h index 7fba53f..13e9d0a 100644 --- a/include/FbMusicLayout.h +++ b/include/FbMusicLayout.h @@ -26,7 +26,7 @@ public: bool Create(CLayoutMgr *mgr, void *data); virtual void Destroy(void); - void SetFocus(bool flag); + void SetFocus(Eina_Bool flag); void Action(void); void SetUpdateFlag(bool flag); }; diff --git a/include/FbPhotoLayout.h b/include/FbPhotoLayout.h index 6e16d16..aa81e35 100644 --- a/include/FbPhotoLayout.h +++ b/include/FbPhotoLayout.h @@ -26,7 +26,7 @@ public: bool Create(CLayoutMgr *mgr, void *data); virtual void Destroy(void); - void SetFocus(bool flag); + void SetFocus(Eina_Bool flag); void Action(void); void SetUpdateFlag(bool flag); }; diff --git a/include/FbVideoLayout.h b/include/FbVideoLayout.h index 271bb4a..b54e2b7 100644 --- a/include/FbVideoLayout.h +++ b/include/FbVideoLayout.h @@ -26,7 +26,7 @@ public: bool Create(CLayoutMgr *mgr, void *data); virtual void Destroy(void); - void SetFocus(bool flag); + void SetFocus(Eina_Bool flag); void Action(void); void SetUpdateFlag(bool flag); }; diff --git a/src/layouts/FbAllLayout.cpp b/src/layouts/FbAllLayout.cpp index 3b6d31e..a0c367d 100644 --- a/src/layouts/FbAllLayout.cpp +++ b/src/layouts/FbAllLayout.cpp @@ -176,7 +176,7 @@ void CFbAllLayout::Destroy(void) } -void CFbAllLayout::SetFocus(bool flag) +void CFbAllLayout::SetFocus(Eina_Bool flag) { ASSERT(m); _DBG(); diff --git a/src/layouts/FbMusicLayout.cpp b/src/layouts/FbMusicLayout.cpp index 5d8a413..ebc64ed 100644 --- a/src/layouts/FbMusicLayout.cpp +++ b/src/layouts/FbMusicLayout.cpp @@ -176,7 +176,7 @@ void CFbMusicLayout::Destroy(void) } -void CFbMusicLayout::SetFocus(bool flag) +void CFbMusicLayout::SetFocus(Eina_Bool flag) { ASSERT(m); _DBG(); diff --git a/src/layouts/FbPhotoLayout.cpp b/src/layouts/FbPhotoLayout.cpp index bda1bd1..eb6729f 100644 --- a/src/layouts/FbPhotoLayout.cpp +++ b/src/layouts/FbPhotoLayout.cpp @@ -176,7 +176,7 @@ void CFbPhotoLayout::Destroy(void) } -void CFbPhotoLayout::SetFocus(bool flag) +void CFbPhotoLayout::SetFocus(Eina_Bool flag) { ASSERT(m); _DBG(); diff --git a/src/layouts/FbVideoLayout.cpp b/src/layouts/FbVideoLayout.cpp index 333c8ed..11932e8 100644 --- a/src/layouts/FbVideoLayout.cpp +++ b/src/layouts/FbVideoLayout.cpp @@ -176,7 +176,7 @@ void CFbVideoLayout::Destroy(void) } -void CFbVideoLayout::SetFocus(bool flag) +void CFbVideoLayout::SetFocus(Eina_Bool flag) { ASSERT(m); _DBG(); diff --git a/src/main.cpp b/src/main.cpp index f10b227..4c19c1e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,6 +20,8 @@ #include #include "dbg.h" #include "define.h" + +#include #include "BaseApp.h" #include diff --git a/src/views/BaseView/FileGrid.cpp b/src/views/BaseView/FileGrid.cpp index ed95029..ae11473 100644 --- a/src/views/BaseView/FileGrid.cpp +++ b/src/views/BaseView/FileGrid.cpp @@ -26,7 +26,6 @@ #include #include "Mediadata.h" #include "ExtNameInfo.h" -#include #include #include "GengridItemClass.h" #include "InputHandler.h" @@ -320,7 +319,7 @@ void CFileGrid::t_Update(char *fid, bool sort_flag) //ASSERT(m->elFile); - m->elFile = CSort::Sort(m->elFile, sortType); + m->elFile = CSortMgr::Sort(m->elFile, sortType); t_Fill(); if (fid) // folder