teleport-window.h 1.82 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* teleport-window.h
 *
 * Copyright 2017 Julian Sparber <julian@sparber.com>
 *
 * 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 <http://www.gnu.org/licenses/>.
*/

19 20
#ifndef __TELEPORT_WINDOW_H
#define __TELEPORT_WINDOW_H
21 22

#include <gtk/gtk.h>
23
#include "teleport-app.h"
24
#include "teleport-peer.h"
25

26 27 28
#define TELEPORT_WINDOW_TYPE (teleport_window_get_type ())
G_DECLARE_FINAL_TYPE (TeleportWindow, 
                      teleport_window, 
Julian Sparber's avatar
Julian Sparber committed
29
                      TELEPORT, 
30
                      WINDOW, 
Julian Sparber's avatar
Julian Sparber committed
31
                      GtkApplicationWindow)
32

33 34 35 36
TeleportWindow     *teleport_window_new             (TeleportApp       *);
void               teleport_window_open             (TeleportWindow    *,
                                                     GFile             *);
void               update_remote_device_list        (TeleportWindow    *,
37
                                                     Peer      *);
38
void               update_remote_device_list_remove (TeleportWindow    *,
39
                                                     Peer      *);
40

41
gchar *            teleport_get_download_directory  (void); 
42
gchar *            teleport_get_device_name         (void); 
43
void               teleport_show_no_device_message  (TeleportWindow *);
44

45
#endif /* __TELEPORT_WINDOW_H */