aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/ipc.h
blob: 4ade907516a7366e0f9dcb4c7b787c8f751c797b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef _IPC_H__
#define _IPC_H__ 1

#include "config.h"

typedef struct _Ipc_Instance Ipc_Instance;

struct _Ipc_Instance
{
   const char *cmd;
   const char *cd;
   const char *background;
   const char *name;
   const char *role;
   const char *title;
   const char *icon_name;
   const char *font;
   const char *startup_id;
   const char *startup_split;
   int x, y, w, h;
   int pos;
   int login_shell;
   int fullscreen;
   int iconic;
   int borderless;
   int override;
   int maximized;
   int hold;
   int nowm;
   int xterm_256color;
   int active_links;
};

void ipc_init(void);
void ipc_shutdown(void);
Eina_Bool ipc_serve(void);
void ipc_instance_new_func_set(void (*func) (Ipc_Instance *inst));
Eina_Bool ipc_instance_add(Ipc_Instance *inst);

#endif