Passed *every* piece of source in this project through indent. I'm setting things up with ctags soon and am actually going to *gasp* use a nice programming environment to continue development in. :)
29 lines
446 B
C
29 lines
446 B
C
#ifndef SCREEN_H
|
|
#define SCREEN_H
|
|
|
|
#include "../shared/LL.h"
|
|
#include "clients.h"
|
|
|
|
typedef struct screen {
|
|
char *id;
|
|
char *name;
|
|
int wid, hgt;
|
|
int priority;
|
|
int duration;
|
|
int heartbeat;
|
|
LL *widgets;
|
|
client *parent;
|
|
} screen;
|
|
|
|
|
|
screen *screen_create ();
|
|
int screen_destroy (screen * s);
|
|
|
|
screen *screen_find (client * c, char *id);
|
|
|
|
int screen_add (client * c, char *id);
|
|
int screen_remove (client * c, char *id);
|
|
|
|
|
|
#endif
|