summaryrefslogtreecommitdiff
path: root/src/client/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/screen.h')
-rw-r--r--src/client/screen.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/client/screen.h b/src/client/screen.h
index b0bdca3..3227bfe 100644
--- a/src/client/screen.h
+++ b/src/client/screen.h
@@ -1,24 +1,23 @@
#ifndef SCREEN_H
-#define SCREEN_H
+# define SCREEN_H
-#include "main.h"
+# include "main.h"
-typedef struct screen_struct
-{
- char *name;
- void (*fce_start) ();
- void (*fce_event) ();
- void (*fce_draw) ();
- void (*fce_stop) ();
+typedef struct screen_struct {
+ char *name;
+ void (*fce_start) ();
+ void (*fce_event) ();
+ void (*fce_draw) ();
+ void (*fce_stop) ();
} screen_t;
extern bool_t isScreenInicialized();
extern screen_t *newScreen(char *name,
- void (*fce_start) (), void (*fce_event) (),
- void (*fce_draw) (), void (*fce_stop) ());
+ void (*fce_start) (), void (*fce_event) (),
+ void (*fce_draw) (), void (*fce_stop) ());
extern void destroyScreen(screen_t * p);
extern void registerScreen(screen_t * p);