[refactor] change back teleport class name to teleport-app

This commit is contained in:
Julian Sparber
2017-10-02 14:31:57 +02:00
parent 8f17179000
commit 56835864e6
10 changed files with 18 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "teleport.h" #include "teleport-app.h"
int int
main (int argc, char *argv[]) main (int argc, char *argv[])

View File

@@ -6,7 +6,7 @@ headers = files(
'teleport-server.h', 'teleport-server.h',
'teleport-window.h', 'teleport-window.h',
'teleport-peer.h', 'teleport-peer.h',
'teleport.h' 'teleport-app.h'
) )
install_headers(headers, subdir: meson.project_name()) install_headers(headers, subdir: meson.project_name())
@@ -21,7 +21,7 @@ sources = files(
'teleport-get.c', 'teleport-get.c',
'teleport-publish.c', 'teleport-publish.c',
'teleport-server.c', 'teleport-server.c',
'teleport.c', 'teleport-app.c',
'teleport-window.c', 'teleport-window.c',
'teleport-peer.c', 'teleport-peer.c',
'main.c' 'main.c'

View File

@@ -1,6 +1,6 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "teleport.h" #include "teleport-app.h"
#include "teleport-peer.h" #include "teleport-peer.h"
#include "teleport-window.h" #include "teleport-window.h"
#include "teleport-browser.h" #include "teleport-browser.h"

View File

@@ -1,5 +1,5 @@
#ifndef __TELEPORT_H #ifndef __TELEPORT_APP_H
#define __TELEPORT_H #define __TELEPORT_APP_H
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "teleport-peer.h" #include "teleport-peer.h"
@@ -8,11 +8,11 @@
G_DECLARE_FINAL_TYPE (TeleportApp, teleport_app, TELEPORT, APP, GtkApplication) G_DECLARE_FINAL_TYPE (TeleportApp, teleport_app, TELEPORT, APP, GtkApplication)
TeleportApp *teleport_app_new (void); TeleportApp *teleport_app_new (void);
extern void create_user_notification (const char *, extern void create_user_notification (const char *,
const int, const int,
const char *, const char *,
GVariant *); GVariant *);
extern void create_finished_notification (const char *, extern void create_finished_notification (const char *,
const int, const int,
@@ -33,4 +33,4 @@ void callback_notify_user (GObject *,
gpointer); gpointer);
#endif /* __TELEPORT_H */ #endif /* __TELEPORT_APP_H */

View File

@@ -13,7 +13,7 @@
#include <avahi-common/error.h> #include <avahi-common/error.h>
#include <avahi-common/thread-watch.h> #include <avahi-common/thread-watch.h>
#include "teleport.h" #include "teleport-app.h"
#include "teleport-peer.h" #include "teleport-peer.h"
#include "teleport-browser.h" #include "teleport-browser.h"

View File

@@ -7,7 +7,7 @@
#include <string.h> #include <string.h>
#include <libsoup/soup.h> #include <libsoup/soup.h>
#include "teleport.h" #include "teleport-app.h"
#include "teleport-get.h" #include "teleport-get.h"
static gboolean debug; static gboolean debug;

View File

@@ -17,7 +17,7 @@
#include <avahi-common/timeval.h> #include <avahi-common/timeval.h>
#include <avahi-common/thread-watch.h> #include <avahi-common/thread-watch.h>
#include "teleport.h" #include "teleport-app.h"
#include "teleport-peer.h" #include "teleport-peer.h"
#include "teleport-publish.h" #include "teleport-publish.h"

View File

@@ -9,7 +9,7 @@
#include "teleport-get.h" #include "teleport-get.h"
#include "teleport-server.h" #include "teleport-server.h"
#include "teleport.h" #include "teleport-app.h"
static int port; static int port;
static SoupServer *glob_server; static SoupServer *glob_server;

View File

@@ -1,6 +1,6 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "teleport.h" #include "teleport-app.h"
#include "teleport-window.h" #include "teleport-window.h"
#include "teleport-server.h" #include "teleport-server.h"
#include "teleport-peer.h" #include "teleport-peer.h"

View File

@@ -2,7 +2,7 @@
#define __TELEPORT_WINDOW_H #define __TELEPORT_WINDOW_H
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "teleport.h" #include "teleport-app.h"
#include "teleport-peer.h" #include "teleport-peer.h"