/* beam-me-up-app.h * * Copyright 2017 Julian Sparber * * Teleport is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero 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 Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ #ifndef __TELEPORT_APP_H #define __TELEPORT_APP_H #include #include "beam-me-up-peer.h" #define TELEPORT_APP_TYPE (teleport_app_get_type ()) G_DECLARE_FINAL_TYPE (TeleportApp, teleport_app, TELEPORT, APP, AdwApplication) TeleportApp *teleport_app_new (void); GSettings *teleport_app_get_settings (void); gchar *teleport_get_download_directory (void); gchar *teleport_get_device_name (void); void create_user_notification (const char *, const int, const char *, GVariant *); void create_finished_notification (const char *, const int, const char *, GVariant *); gboolean mainLoopAddPeerCallback (gpointer); gboolean mainLoopRemovePeerCallback (gpointer); void callback_add_peer (GObject *, Peer *, gpointer); void callback_remove_peer (GObject *, Peer *peer, gpointer); void callback_notify_user (GObject *, gchar *, gpointer); #endif /* __TELEPORT_APP_H */