aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar/tray/host.h
blob: 2d4cf82b1e19700c413298310f12eea54efe1969 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _SWAYBAR_TRAY_HOST_H
#define _SWAYBAR_TRAY_HOST_H

#include <stdbool.h>

struct swaybar_tray;

struct swaybar_host {
	struct swaybar_tray *tray;
	char *service;
	char *watcher_interface;
};

bool init_host(struct swaybar_host *host, char *protocol, struct swaybar_tray *tray);
void finish_host(struct swaybar_host *host);

#endif