summaryrefslogtreecommitdiff
path: root/lib/ephy-notification-container.h
diff options
context:
space:
mode:
authorGabriel Ivascu <ivascu.gabriel59@gmail.com>2017-08-02 11:56:06 +0100
committerMichael Catanzaro <mcatanzaro@igalia.com>2017-08-06 09:28:38 -0500
commit2a4cec1701926a35235c92344add9a1f5fc5ea71 (patch)
treeb63b873cf193da44583e68c5cea91c8c7ab652d1 /lib/ephy-notification-container.h
parentc19c101d212d7ba947af728c9993f1f8e445686d (diff)
downloadepiphany-2a4cec1701926a35235c92344add9a1f5fc5ea71.tar.gz
build: Turn libephysync into a shared library
Diffstat (limited to 'lib/ephy-notification-container.h')
-rw-r--r--lib/ephy-notification-container.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/ephy-notification-container.h b/lib/ephy-notification-container.h
new file mode 100644
index 000000000..ce7ce8376
--- /dev/null
+++ b/lib/ephy-notification-container.h
@@ -0,0 +1,36 @@
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/*
+ * Copyright © 2016 Gabriel Ivascu <ivascu.gabriel59@gmail.com>
+ *
+ * This file is part of Epiphany.
+ *
+ * Epiphany 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.
+ *
+ * Epiphany 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 Epiphany. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+#define EPHY_TYPE_NOTIFICATION_CONTAINER (ephy_notification_container_get_type ())
+
+G_DECLARE_FINAL_TYPE (EphyNotificationContainer, ephy_notification_container, EPHY, NOTIFICATION_CONTAINER, GtkRevealer)
+
+EphyNotificationContainer *ephy_notification_container_get_default (void);
+
+void ephy_notification_container_add_notification (EphyNotificationContainer *self,
+ GtkWidget *notification);
+
+G_END_DECLS