diff options
author | Joe Zhao <ztuowen@gmail.com> | 2015-09-04 08:40:52 -0600 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2015-09-04 08:40:52 -0600 |
commit | 8786ca9366a76c6695a6cb4cb2bcfb32e913d950 (patch) | |
tree | 06f47466120913871f2c2c639ba4d33a5e7b0ff6 /main.cpp | |
download | pomodori-8786ca9366a76c6695a6cb4cb2bcfb32e913d950.tar.gz pomodori-8786ca9366a76c6695a6cb4cb2bcfb32e913d950.tar.bz2 pomodori-8786ca9366a76c6695a6cb4cb2bcfb32e913d950.zip |
Initial commit
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..a997880 --- /dev/null +++ b/main.cpp @@ -0,0 +1,16 @@ +#include <glib.h> +#include<libnotify/notify.h> +#include <gtk/gtk.h> +#include "logging.h" +#include "totimer.h" + +int main(int argc, char** argv) +{ + gtk_init(&argc, &argv); + notify_init("Tomodori"); + tres lastres; + lastres.time=0; + settimer(&lastres,1); + gtk_main(); + return 0; +}
\ No newline at end of file |