common: Move <Enventor.h> to common header file of application.
Move <Enventor.h> to common.h to let application files include <Enventor.h> and <Elementary.h> easily by including only "common.h".
This commit is contained in:
parent
9d6726799f
commit
4fd5b2f132
|
@ -1,4 +1,3 @@
|
|||
#include <Elementary.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct base_s
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <Elementary.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct config_s
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <Elementary.h>
|
||||
#include "common.h"
|
||||
|
||||
void
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Eio.h>
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct file_mgr_s {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <Elementary.h>
|
||||
#include "common.h"
|
||||
|
||||
const char *DEFAULT_EDC_PATH_FORMAT = "/tmp/enventor_%d.edc";
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct goto_s
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Elementary_Cursor.h>
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct menu_data_s
|
||||
|
|
|
@ -2,10 +2,7 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Eio.h>
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct app_s
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
struct menu_s
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct new_data_s {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <Elementary.h>
|
||||
#include "common.h"
|
||||
|
||||
static const double TRANSIT_TIME = 0.25;
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct search_s
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <Elementary.h>
|
||||
#include "common.h"
|
||||
|
||||
struct setting_s
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <Elementary.h>
|
||||
#include "common.h"
|
||||
|
||||
typedef struct statusbar_s
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
|
||||
#include <Enventor.h>
|
||||
#include "common.h"
|
||||
|
||||
static void
|
||||
|
|
|
@ -10,6 +10,9 @@ typedef struct statusbar_s stats_data;
|
|||
#define REL2_X 0.75f
|
||||
#define REL2_Y 0.75f
|
||||
|
||||
#define ENVENTOR_BETA_API_SUPPORT 1
|
||||
#include <Enventor.h>
|
||||
|
||||
#include "menu.h"
|
||||
#include "statusbar.h"
|
||||
#include "config_data.h"
|
||||
|
|
Loading…
Reference in New Issue