[refactor] change back teleport class name to teleport-app
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
|
||||
@@ -6,7 +6,7 @@ headers = files(
|
||||
'teleport-server.h',
|
||||
'teleport-window.h',
|
||||
'teleport-peer.h',
|
||||
'teleport.h'
|
||||
'teleport-app.h'
|
||||
)
|
||||
|
||||
install_headers(headers, subdir: meson.project_name())
|
||||
@@ -21,7 +21,7 @@ sources = files(
|
||||
'teleport-get.c',
|
||||
'teleport-publish.c',
|
||||
'teleport-server.c',
|
||||
'teleport.c',
|
||||
'teleport-app.c',
|
||||
'teleport-window.c',
|
||||
'teleport-peer.c',
|
||||
'main.c'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
#include "teleport-peer.h"
|
||||
#include "teleport-window.h"
|
||||
#include "teleport-browser.h"
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __TELEPORT_H
|
||||
#define __TELEPORT_H
|
||||
#ifndef __TELEPORT_APP_H
|
||||
#define __TELEPORT_APP_H
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include "teleport-peer.h"
|
||||
@@ -8,11 +8,11 @@
|
||||
G_DECLARE_FINAL_TYPE (TeleportApp, teleport_app, TELEPORT, APP, GtkApplication)
|
||||
|
||||
|
||||
TeleportApp *teleport_app_new (void);
|
||||
extern void create_user_notification (const char *,
|
||||
const int,
|
||||
const char *,
|
||||
GVariant *);
|
||||
TeleportApp *teleport_app_new (void);
|
||||
extern void create_user_notification (const char *,
|
||||
const int,
|
||||
const char *,
|
||||
GVariant *);
|
||||
|
||||
extern void create_finished_notification (const char *,
|
||||
const int,
|
||||
@@ -33,4 +33,4 @@ void callback_notify_user (GObject *,
|
||||
gpointer);
|
||||
|
||||
|
||||
#endif /* __TELEPORT_H */
|
||||
#endif /* __TELEPORT_APP_H */
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <avahi-common/error.h>
|
||||
#include <avahi-common/thread-watch.h>
|
||||
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
#include "teleport-peer.h"
|
||||
#include "teleport-browser.h"
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <libsoup/soup.h>
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
#include "teleport-get.h"
|
||||
|
||||
static gboolean debug;
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <avahi-common/timeval.h>
|
||||
#include <avahi-common/thread-watch.h>
|
||||
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
#include "teleport-peer.h"
|
||||
#include "teleport-publish.h"
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "teleport-get.h"
|
||||
#include "teleport-server.h"
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
|
||||
static int port;
|
||||
static SoupServer *glob_server;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
#include "teleport-window.h"
|
||||
#include "teleport-server.h"
|
||||
#include "teleport-peer.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define __TELEPORT_WINDOW_H
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include "teleport.h"
|
||||
#include "teleport-app.h"
|
||||
#include "teleport-peer.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user