aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-05 20:43:02 +1000
committerDavid Walter Seikel2014-05-05 20:43:02 +1000
commit205c2b6eaa23c04691f92ad0d60407f98eed766b (patch)
tree134e24db39b85490de520493ba69812c113d424b /src
parentCall skang modules from extantz. Needs some clean up. (diff)
downloadSledjHamr-205c2b6eaa23c04691f92ad0d60407f98eed766b.zip
SledjHamr-205c2b6eaa23c04691f92ad0d60407f98eed766b.tar.gz
SledjHamr-205c2b6eaa23c04691f92ad0d60407f98eed766b.tar.bz2
SledjHamr-205c2b6eaa23c04691f92ad0d60407f98eed766b.tar.xz
Clean up include files.
Diffstat (limited to 'src')
-rw-r--r--src/GuiLua/GuiLua.c4
-rw-r--r--src/GuiLua/GuiLua.h10
-rw-r--r--src/GuiLua/skang.c3
-rw-r--r--src/GuiLua/test_c.c4
-rw-r--r--src/extantz/CDemo.cpp1
-rw-r--r--src/extantz/camera.c1
-rw-r--r--src/extantz/ephysics_demo.c1
-rw-r--r--src/extantz/extantz.c2
-rw-r--r--src/extantz/extantz.h15
-rw-r--r--src/libraries/LumbrJack.h5
-rw-r--r--src/libraries/Runnr.h5
-rw-r--r--src/libraries/SledjHamr.h6
-rw-r--r--src/libraries/winFang.h6
13 files changed, 44 insertions, 19 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index 4bed9ca..7463abb 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -139,12 +139,8 @@ and ordinary elementary widgets. Proper introspection can come later.
139*/ 139*/
140 140
141 141
142#include "SledjHamr.h"
143#include "LumbrJack.h" 142#include "LumbrJack.h"
144#include "Runnr.h"
145#include "winFang.h"
146#include "GuiLua.h" 143#include "GuiLua.h"
147//#include <stdio.h>
148 144
149 145
150static int logDom; // Our logging domain. 146static int logDom; // Our logging domain.
diff --git a/src/GuiLua/GuiLua.h b/src/GuiLua/GuiLua.h
index c0fa9c7..3548a44 100644
--- a/src/GuiLua/GuiLua.h
+++ b/src/GuiLua/GuiLua.h
@@ -1,3 +1,11 @@
1#ifndef _GUILUA_H_
2#define _GUILUA_H_
3
4
5#include "Runnr.h"
6#include "winFang.h"
7
8
1#define WIDTH (300) 9#define WIDTH (300)
2#define HEIGHT (300) 10#define HEIGHT (300)
3 11
@@ -19,3 +27,5 @@ typedef struct _GuiLua
19} GuiLua; 27} GuiLua;
20 28
21GuiLua *GuiLuaDo(int argc, char **argv, Evas_Object *parent); 29GuiLua *GuiLuaDo(int argc, char **argv, Evas_Object *parent);
30
31#endif
diff --git a/src/GuiLua/skang.c b/src/GuiLua/skang.c
index a0dca5c..ed6d31f 100644
--- a/src/GuiLua/skang.c
+++ b/src/GuiLua/skang.c
@@ -1,7 +1,4 @@
1#include "SledjHamr.h" 1#include "SledjHamr.h"
2#include "LumbrJack.h"
3#include "Runnr.h"
4#include "winFang.h"
5#include "GuiLua.h" 2#include "GuiLua.h"
6 3
7 4
diff --git a/src/GuiLua/test_c.c b/src/GuiLua/test_c.c
index 6421d24..f548e4d 100644
--- a/src/GuiLua/test_c.c
+++ b/src/GuiLua/test_c.c
@@ -10,10 +10,8 @@ http://lua-users.org/lists/lua-l/2008-01/msg00671.html
10*/ 10*/
11 11
12 12
13#include "SledjHamr.h" 13//#include "LumbrJack.h"
14#include "LumbrJack.h"
15#include "Runnr.h" 14#include "Runnr.h"
16#include "winFang.h"
17#include "GuiLua.h" 15#include "GuiLua.h"
18 16
19 17
diff --git a/src/extantz/CDemo.cpp b/src/extantz/CDemo.cpp
index 7151b5f..f9363c5 100644
--- a/src/extantz/CDemo.cpp
+++ b/src/extantz/CDemo.cpp
@@ -3,7 +3,6 @@
3 3
4#include <irrlicht.h> 4#include <irrlicht.h>
5#include "extantz.h" 5#include "extantz.h"
6#include "extantzCamera.h"
7#include "CDemo.h" 6#include "CDemo.h"
8 7
9CDemo::CDemo(GLData *gld, bool a) 8CDemo::CDemo(GLData *gld, bool a)
diff --git a/src/extantz/camera.c b/src/extantz/camera.c
index e566fbb..d221ea0 100644
--- a/src/extantz/camera.c
+++ b/src/extantz/camera.c
@@ -1,5 +1,6 @@
1#include "extantz.h" 1#include "extantz.h"
2 2
3
3static void _on_camera_input_down(void *data, Evas *evas, Evas_Object *obj, void *event_info) 4static void _on_camera_input_down(void *data, Evas *evas, Evas_Object *obj, void *event_info)
4{ 5{
5 globals *ourGlobals = data; 6 globals *ourGlobals = data;
diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c
index f5036b9..6697cc9 100644
--- a/src/extantz/ephysics_demo.c
+++ b/src/extantz/ephysics_demo.c
@@ -1,4 +1,5 @@
1#include "extantz.h" 1#include "extantz.h"
2#include <EPhysics.h>
2 3
3 4
4#if USE_PHYSICS 5#if USE_PHYSICS
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c
index 7346aea..d0cd8ef 100644
--- a/src/extantz/extantz.c
+++ b/src/extantz/extantz.c
@@ -1,4 +1,6 @@
1#include "extantz.h" 1#include "extantz.h"
2#include "SledjHamr.h"
3#include "LumbrJack.h"
2 4
3 5
4static int logDom; // Our logging domain. 6static int logDom; // Our logging domain.
diff --git a/src/extantz/extantz.h b/src/extantz/extantz.h
index 969ac98..4ecf8e8 100644
--- a/src/extantz/extantz.h
+++ b/src/extantz/extantz.h
@@ -1,19 +1,20 @@
1#ifndef _EXTANTZ_H_
2#define _EXTANTZ_H_
3
1#define USE_PHYSICS 1 4#define USE_PHYSICS 1
2#define USE_IRR 0 5#define USE_IRR 0
3#define USE_DEMO 0 6#define USE_DEMO 0
4#define DO_GEARS 0 7#define DO_GEARS 0
5 8
6 9
7#include "SledjHamr.h" 10#include "winFang.h"
8#include "LumbrJack.h" 11#include "GuiLua.h"
12
9#include <elm_widget_glview.h> 13#include <elm_widget_glview.h>
10#include <Evas_GL.h> 14#include <Evas_GL.h>
11#include <EPhysics.h> 15#include <EPhysics.h>
12#include "extantzCamera.h"
13#include "winFang.h"
14#include "Runnr.h"
15#include "GuiLua.h"
16 16
17#include "extantzCamera.h"
17 18
18#ifdef GL_GLES 19#ifdef GL_GLES
19#include <EGL/egl.h> 20#include <EGL/egl.h>
@@ -264,3 +265,5 @@ winFang *woMan_add(globals *ourGlobals);
264#ifdef __cplusplus 265#ifdef __cplusplus
265} 266}
266#endif 267#endif
268
269#endif
diff --git a/src/libraries/LumbrJack.h b/src/libraries/LumbrJack.h
index 5ac0ce8..a096e7f 100644
--- a/src/libraries/LumbrJack.h
+++ b/src/libraries/LumbrJack.h
@@ -1,3 +1,6 @@
1#ifndef _LUMBRJACK_H_
2#define _LUMBRJACK_H_
3
1 4
2#include <stdio.h> 5#include <stdio.h>
3#include <ctype.h> 6#include <ctype.h>
@@ -30,3 +33,5 @@ typedef enum
30 33
31int loggingStartup(char *name, int logDom); 34int loggingStartup(char *name, int logDom);
32char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut); 35char *getDateTime(struct tm **nowOut, char *dateOut, time_t *tiemOut);
36
37#endif
diff --git a/src/libraries/Runnr.h b/src/libraries/Runnr.h
index dc720ff..ac22039 100644
--- a/src/libraries/Runnr.h
+++ b/src/libraries/Runnr.h
@@ -1,5 +1,6 @@
1#ifndef _RUNNR_H_
2#define _RUNNR_H_
1 3
2#include <stdio.h>
3#include <ctype.h> 4#include <ctype.h>
4 5
5#include <Eina.h> 6#include <Eina.h>
@@ -13,3 +14,5 @@
13void dumpStack(lua_State *L, int i); 14void dumpStack(lua_State *L, int i);
14int pull_lua(lua_State *L, int i, char *params, ...); 15int pull_lua(lua_State *L, int i, char *params, ...);
15int push_lua(lua_State *L, char *params, ...); 16int push_lua(lua_State *L, char *params, ...);
17
18#endif
diff --git a/src/libraries/SledjHamr.h b/src/libraries/SledjHamr.h
index 893d90e..2351507 100644
--- a/src/libraries/SledjHamr.h
+++ b/src/libraries/SledjHamr.h
@@ -1,3 +1,6 @@
1#ifndef _SLEDJHAMR_H_
2#define _SLEDJHAMR_H_
3
1 4
2#define EFL_API_OVERRIDE 1 5#define EFL_API_OVERRIDE 1
3/* Enable access to unstable EFL API that are still in beta */ 6/* Enable access to unstable EFL API that are still in beta */
@@ -5,10 +8,11 @@
5/* Enable access to unstable EFL EO API. */ 8/* Enable access to unstable EFL EO API. */
6#define EFL_EO_API_SUPPORT 1 9#define EFL_EO_API_SUPPORT 1
7 10
8#include <stdio.h>
9#include <ctype.h> 11#include <ctype.h>
10 12
11#include <Elementary.h> 13#include <Elementary.h>
12 14
13 15
14void HamrTime(void *elm_main, char *domain); 16void HamrTime(void *elm_main, char *domain);
17
18#endif
diff --git a/src/libraries/winFang.h b/src/libraries/winFang.h
index 219dcf0..38487cc 100644
--- a/src/libraries/winFang.h
+++ b/src/libraries/winFang.h
@@ -1,3 +1,7 @@
1#ifndef _WINFANG_H_
2#define _WINFANG_H_
3
4
1#define EFL_API_OVERRIDE 1 5#define EFL_API_OVERRIDE 1
2/* Enable access to unstable EFL API that are still in beta */ 6/* Enable access to unstable EFL API that are still in beta */
3#define EFL_BETA_API_SUPPORT 1 7#define EFL_BETA_API_SUPPORT 1
@@ -47,3 +51,5 @@ void winFangShow(winFang *win);
47void winFangDel(winFang *win); 51void winFangDel(winFang *win);
48 52
49Widget *widgetAdd(winFang *win, const Eo_Class *klass, Evas_Object *parent, char *title); 53Widget *widgetAdd(winFang *win, const Eo_Class *klass, Evas_Object *parent, char *title);
54
55#endif