Apply the modification of CSortMgr
authorKim Tae Soo <taesoo46.kim@samsung.com>
Tue, 10 Mar 2015 23:38:07 +0000 (08:38 +0900)
committerKim Youngjin <yj21c.kim@samsung.com>
Wed, 11 Mar 2015 00:27:09 +0000 (09:27 +0900)
Change-Id: I1e0d32092e5c450d15dfc87a542094ee840e1798
Signed-off-by: Kim Tae Soo <taesoo46.kim@samsung.com>
Signed-off-by: Kim Youngjin <yj21c.kim@samsung.com>
include/FbAllLayout.h
include/FbMusicLayout.h
include/FbPhotoLayout.h
include/FbVideoLayout.h
src/layouts/FbAllLayout.cpp
src/layouts/FbMusicLayout.cpp
src/layouts/FbPhotoLayout.cpp
src/layouts/FbVideoLayout.cpp
src/main.cpp
src/views/BaseView/FileGrid.cpp

index 03f2be1..9f1e831 100644 (file)
@@ -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);
 };
index 7fba53f..13e9d0a 100644 (file)
@@ -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);
 };
index 6e16d16..aa81e35 100644 (file)
@@ -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);
 };
index 271bb4a..b54e2b7 100644 (file)
@@ -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);
 };
index 3b6d31e..a0c367d 100644 (file)
@@ -176,7 +176,7 @@ void CFbAllLayout::Destroy(void)
 }
 
 
-void CFbAllLayout::SetFocus(bool flag)
+void CFbAllLayout::SetFocus(Eina_Bool flag)
 {
        ASSERT(m);
        _DBG();
index 5d8a413..ebc64ed 100644 (file)
@@ -176,7 +176,7 @@ void CFbMusicLayout::Destroy(void)
 }
 
 
-void CFbMusicLayout::SetFocus(bool flag)
+void CFbMusicLayout::SetFocus(Eina_Bool flag)
 {
        ASSERT(m);
        _DBG();
index bda1bd1..eb6729f 100644 (file)
@@ -176,7 +176,7 @@ void CFbPhotoLayout::Destroy(void)
 }
 
 
-void CFbPhotoLayout::SetFocus(bool flag)
+void CFbPhotoLayout::SetFocus(Eina_Bool flag)
 {
        ASSERT(m);
        _DBG();
index 333c8ed..11932e8 100644 (file)
@@ -176,7 +176,7 @@ void CFbVideoLayout::Destroy(void)
 }
 
 
-void CFbVideoLayout::SetFocus(bool flag)
+void CFbVideoLayout::SetFocus(Eina_Bool flag)
 {
        ASSERT(m);
        _DBG();
index f10b227..4c19c1e 100644 (file)
@@ -20,6 +20,8 @@
 #include <Eina.h>
 #include "dbg.h"
 #include "define.h"
+
+#include <AppCommon.h>
 #include "BaseApp.h"
 
 #include <BaseView.h>
index ed95029..ae11473 100644 (file)
@@ -26,7 +26,6 @@
 #include <AppCommon.h>
 #include "Mediadata.h"
 #include "ExtNameInfo.h"
-#include <Sort.h>
 #include <SortMgr.h>
 #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