From 465ee18154534aedfda28e29130b1f2b8c2e5189 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 26 Jul 2014 10:13:13 +0200 Subject: introduce journal-notify.h --- journal-notify.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 journal-notify.h (limited to 'journal-notify.h') diff --git a/journal-notify.h b/journal-notify.h new file mode 100644 index 0000000..c16942d --- /dev/null +++ b/journal-notify.h @@ -0,0 +1,34 @@ +/* + * (C) 2014 by Christian Hesse + * + * This software may be used and distributed according to the terms + * of the GNU General Public License, incorporated herein by reference. + */ + +#ifndef _JOURNAL_NOTIFY_H +#define _JOURNAL_NOTIFY_H + +#include +#include +#include +#include + +#include + +#include + +#include "version.h" + +#define OPTSTRING "aehi:m:nor:v" +#define DEFAULTICON "dialog-information" + +/*** notify ***/ +int notify(const char * summary, const char * body, const char * icon); + +/*** main ***/ +int main(int argc, char **argv); + +#endif /* _JOURNAL_NOTIFY_H */ + +// vim: set syntax=c: + -- cgit v1.2.3-54-g00ecf