1 /* 2 * This file is part of GNOME Twitch - 'Enjoy Twitch on your GNU/Linux desktop' 3 * Copyright © 2017 Vincent Szolnoky <vinszent@vinszent.com> 4 * 5 * GNOME Twitch is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * GNOME Twitch is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with GNOME Twitch. If not, see <http://www.gnu.org/licenses/>. 17 */ 18 19 #ifndef GT_CHAT_H 20 #define GT_CHAT_H 21 22 #include <gtk/gtk.h> 23 #include "gt-channel.h" 24 25 G_BEGIN_DECLS 26 27 #define GT_TYPE_CHAT gt_chat_get_type() 28 29 G_DECLARE_FINAL_TYPE(GtChat, gt_chat, GT, CHAT, GtkBox) 30 31 struct _GtChat 32 { 33 GtkBox parent_instance; 34 }; 35 36 GtChat* gt_chat_new(); 37 void gt_chat_connect(GtChat* self, GtChannel* chan); 38 void gt_chat_disconnect(GtChat* self); 39 40 G_END_DECLS 41 42 #endif 43