Fix build error due to changing app-common
[profile/tv/apps/native/filebrowser.git] / src / views / BaseView / SortCtxPopup.cpp
index ce8ecda..7505cfc 100644 (file)
 * limitations under the License.
 */
 
-#include <Elementary.h>
-#include <Eina.h>
 #include <Ecore.h>
 #include <aul.h>
-#include "i18n.h"
+#include "dbg.h"
+#include <AppCommon.h>
 #include "define.h"
 #include "common.h"
+#include "i18n.h"
 
 #include "Info.h"
-#include "CtxPopup.h"
-#include <app-res-defines.h>
 #include "SortCtxPopup.h"
 
+#define BTN_ID                   "BTN_ID"
+
 const char *sorttext[] = {
        N_("Title A-Z"),
        N_("Title Z-A"),
@@ -48,7 +48,7 @@ const char *sortbtnids[] = {
 void CSortCtxPopup::t_OnConfiguration(void)
 {
        t_SetList(sorttext, ARRAY_SIZE(sorttext), (int)CInfo::SortType(),
-                       CCtxPopup::TOPBTN_SORT, sortbtnids,
+                       CContextPopup::TOPBTN_SORT, sortbtnids,
                        POSITION_SORT_POPUP_X, POSITION_SORT_POPUP_Y,
                        NULL,
                        FBR_STYLE_HOVER_ENTRY, FBR_STYLE_HOVER_ENTRY, FBR_STYLE_HOVER_ENTRY);
@@ -79,7 +79,7 @@ void CSortCtxPopup::t_OnBtnClicked(Evas_Object* obj, void* ev)
                return;
 
        CInfo::SetSortType(index);
-       CCtxPopup::t_OnBtnClicked(obj, ev);
+       CContextPopup::t_OnBtnClicked(obj, ev);
 
        Destroy(); //_destroy_ctxpopup(bd);
 }