grim/purple-spasm

Create a template task, move the debian one to it and added a fedora task as well
/*
* PurpleSpasm - A Twitch Protocol Plugin
* Copyright (C) 2017 Gary Kramlich <grim@reaperworld.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 2
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef PURPLE_SPASM_CHAT
#define PURPLE_SPASM_CHAT
#include <glib.h>
typedef struct _PurpleSpasmChatService PurpleSpasmChatService;
#include "spasm-account.h"
G_BEGIN_DECLS
PurpleSpasmChatService *purple_spasm_chat_service_new(PurpleSpasmAccount *sa);
void purple_spasm_chat_service_free(PurpleSpasmChatService *chat);
void purple_spasm_chat_service_connect(PurpleSpasmChatService *chat);
GList *purple_spasm_chat_service_info(PurpleConnection *connection);
GHashTable *purple_spasm_chat_service_info_default(PurpleConnection *connection, const gchar *name);
void purple_spasm_chat_service_join(PurpleConnection *connection, GHashTable *components);
gchar *purple_spasm_chat_service_name(GHashTable *components);
void purple_spasm_chat_service_leave(PurpleConnection *connection, gint id);
gint purple_spasm_chat_service_send(PurpleConnection *connection, gint id, const gchar *message, PurpleMessageFlags flags);
void purple_spasm_chat_service_set_topic(PurpleConnection *connection, gint id, const gchar *topic);
G_END_DECLS
#endif /* PURPLE_SPASM_CHAT */