[gnome-todo/wip/gbsneto/plugins: 4/10] build: header cleanup



commit 15d5856de28318ebda71573134d50a9ce809c901
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Dec 23 16:33:58 2015 -0200

    build: header cleanup
    
    Add a gnome-todo.h header, which will
    include every needed header.

 src/Makefile.am            |    6 +++++-
 src/gnome-todo.h           |   29 +++++++++++++++++++++++++++++
 src/interfaces/gtd-panel.h |    4 ++--
 3 files changed, 36 insertions(+), 3 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index e777e09..a175afc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,6 +57,8 @@ gnome_todo_SOURCES = \
        gtd-manager.h \
        gtd-object.c \
        gtd-object.h \
+       gtd-plugin-manager.c \
+       gtd-plugin-manager.h \
        gtd-task.c \
        gtd-task.h \
        gtd-task-list.c \
@@ -92,12 +94,14 @@ gnome_todo_include_HEADERS = \
        interfaces/gtd-panel.h \
        interfaces/gtd-provider.h \
        notification/gtd-notification.h \
+       gtd-enums.h \
        gtd-manager.h \
        gtd-object.h \
        gtd-task.h \
        gtd-task-list.h \
        gtd-window.h \
-       gtd-types.h
+       gtd-types.h \
+       gnome-todo.h
 
 #
 # Resources
diff --git a/src/gnome-todo.h b/src/gnome-todo.h
new file mode 100644
index 0000000..e2b7b84
--- /dev/null
+++ b/src/gnome-todo.h
@@ -0,0 +1,29 @@
+/* gnome-todo.h
+ *
+ * Copyright (C) 2015 Georges Basile Stavracas Neto <georges stavracas gmail com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "gtd-activatable.h"
+#include "gtd-panel.h"
+#include "gtd-provider.h"
+#include "gtd-notification.h"
+#include "gtd-enums.h"
+#include "gtd-manager.h"
+#include "gtd-object.h"
+#include "gtd-task.h"
+#include "gtd-task-list.h"
+#include "gtd-window.h"
+#include "gtd-types.h"
diff --git a/src/interfaces/gtd-panel.h b/src/interfaces/gtd-panel.h
index f012285..55f99b8 100644
--- a/src/interfaces/gtd-panel.h
+++ b/src/interfaces/gtd-panel.h
@@ -19,10 +19,10 @@
 #ifndef GTD_PANEL_H
 #define GTD_PANEL_H
 
+#include "gtd-types.h"
+
 #include <glib-object.h>
 #include <glib.h>
-
-#include <gtd-types.h>
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]