From 9090b5554a2e2c50f349dfac5b0915d290cf2070 Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 29 Jan 2016 23:48:32 +0100 Subject: [PATCH] fixed include --- coreengine/viewdisplaymenu.h | 9 +++++++++ displaymenu.h | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/coreengine/viewdisplaymenu.h b/coreengine/viewdisplaymenu.h index 1658f72..d6d18db 100644 --- a/coreengine/viewdisplaymenu.h +++ b/coreengine/viewdisplaymenu.h @@ -4,6 +4,15 @@ #include "view.h" #include "viewdetail.h" +#if defined(APIVERSNUM) && APIVERSNUM < 20301 +#ifndef MENU_ORIENTATION_DEFINED +enum eMenuOrientation { + moVertical = 0, + moHorizontal +}; +#endif +#endif + /*********************************************************** * cViewMenu ***********************************************************/ diff --git a/displaymenu.h b/displaymenu.h index 4f49d8c..94fcd2f 100644 --- a/displaymenu.h +++ b/displaymenu.h @@ -1,15 +1,6 @@ #ifndef __DISPLAYMENU_H #define __DISPLAYMENU_H -#if defined(APIVERSNUM) && APIVERSNUM < 20301 -#ifndef MENU_ORIENTATION_DEFINED -enum eMenuOrientation { - moVertical = 0, - moHorizontal -}; -#endif -#endif - #include "libskindesignerapi/skindesignerapi.h" #include #include "coreengine/viewdisplaymenu.h"