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.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'journal-notify.c') diff --git a/journal-notify.c b/journal-notify.c index bc7740c..9819f07 100644 --- a/journal-notify.c +++ b/journal-notify.c @@ -5,22 +5,11 @@ * of the GNU General Public License, incorporated herein by reference. */ -#include -#include -#include -#include - -#include - -#include - -#include "version.h" +#include "journal-notify.h" const char * program = NULL; -#define OPTSTRING "aehi:m:nor:v" -#define DEFAULTICON "dialog-information" - +/*** notify ***/ int notify(const char * summary, const char * body, const char * icon) { NotifyNotification * notification; int rc = -1; @@ -46,6 +35,7 @@ out: return rc; } +/*** main ***/ int main(int argc, char **argv) { int i, rc = EXIT_FAILURE; uint8_t verbose = 0; -- cgit v1.2.3-54-g00ecf