rosenrot/rose.h
bellrise be0d500024 code: Remove global variables from rose.h
Global variables in headers may not work the way you think, so it's
safer to make a static local one.
2022-05-16 09:54:39 +02:00

22 lines
452 B
C

#pragma once
#include "window.h"
#include "webview.h"
#include "config.h"
#include <gtk/gtk.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <signal.h>
#include <X11/Xatom.h>
#include <gdk/x11/gdkx.h>
#include <webkit2/webkit2.h>
#include <stdlib.h>
enum { AtomFind, AtomGo, AtomUri, AtomUTF8, AtomLast };
static Atom atoms[AtomLast];
const char* getatom(int a);
void setatom(int a, const char *v);