first commit

This commit is contained in:
Julian Sparber
2017-02-11 20:15:35 +01:00
commit f0ede0a585
13 changed files with 1152 additions and 0 deletions

145
src/glade.window.ui Normal file
View File

@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.8 -->
<template class="PaperplaneAppWindow" parent="GtkApplicationWindow">
<property name="title" translatable="yes">Example Application</property>
<property name="default_width">600</property>
<property name="default_height">400</property>
<child>
<object class="GtkAlignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="top_padding">30</property>
<property name="left_padding">100</property>
<property name="right_padding">100</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">30</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">This device</property>
<attributes>
<attribute name="font-desc" value="Cantarell 11"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="DeviceElement">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="deviceName">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Tobi's Laptop</property>
<attributes>
<attribute name="font-desc" value="Cantarell 20"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Devices on this network</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<style>
<class name="background"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="header">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="show_close_button">True</property>
<property name="decoration_layout">:close</property>
<child>
<object class="GtkSwitch" id="powerSwitch">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="lines_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Visible on network</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</template>
</interface>

BIN
src/gschemas.compiled Normal file

Binary file not shown.

9
src/main.c Normal file
View File

@@ -0,0 +1,9 @@
#include <gtk/gtk.h>
#include "paperplaneapp.h"
int
main (int argc, char *argv[])
{
return g_application_run (G_APPLICATION (paperplane_app_new ()), argc, argv);
}

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema path="/org/gtk/paperplaneapp/" id="org.gtk.paperplaneapp">
<key name="font" type="s">
<default>'Monospace 12'</default>
<summary>Font</summary>
<description>The font to be used for content.</description>
</key>
<key name="transition" type="s">
<choices>
<choice value='none'/>
<choice value='crossfade'/>
<choice value='slide-left-right'/>
</choices>
<default>'none'</default>
<summary>Transition</summary>
<description>The transition to use when switching tabs.</description>
</key>
<key name="show-words" type="b">
<default>false</default>
<summary>Show words</summary>
<description>Whether to show a word list in the sidebar</description>
</key>
</schema>
</schemalist>

BIN
src/paperplaneapp Executable file

Binary file not shown.

63
src/paperplaneapp.c Normal file
View File

@@ -0,0 +1,63 @@
#include <gtk/gtk.h>
#include "paperplaneapp.h"
#include "paperplaneappwin.h"
struct _PaperplaneApp
{
GtkApplication parent;
};
G_DEFINE_TYPE(PaperplaneApp, paperplane_app, GTK_TYPE_APPLICATION);
static void
paperplane_app_init (PaperplaneApp *app)
{
}
static void
paperplane_app_activate (GApplication *app)
{
PaperplaneAppWindow *win;
win = paperplane_app_window_new (PAPERPLANE_APP (app));
gtk_window_present (GTK_WINDOW (win));
}
static void
paperplane_app_open (GApplication *app,
GFile **files,
gint n_files,
const gchar *hint)
{
GList *windows;
PaperplaneAppWindow *win;
int i;
windows = gtk_application_get_windows (GTK_APPLICATION (app));
if (windows)
win = PAPERPLANE_APP_WINDOW (windows->data);
else
win = paperplane_app_window_new (PAPERPLANE_APP (app));
for (i = 0; i < n_files; i++)
paperplane_app_window_open (win, files[i]);
gtk_window_present (GTK_WINDOW (win));
}
static void
paperplane_app_class_init (PaperplaneAppClass *class)
{
G_APPLICATION_CLASS (class)->activate = paperplane_app_activate;
G_APPLICATION_CLASS (class)->open = paperplane_app_open;
}
PaperplaneApp *
paperplane_app_new (void)
{
return g_object_new (PAPERPLANE_APP_TYPE,
"application-id", "org.gtk.paperplaneapp",
"flags", G_APPLICATION_HANDLES_OPEN,
NULL);
}

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gtk/paperplaneapp">
<file preprocess="xml-stripblanks">window.ui</file>
</gresource>
</gresources>

14
src/paperplaneapp.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef __PAPERPLANEAPP_H
#define __PAPERPLANEAPP_H
#include <gtk/gtk.h>
#define PAPERPLANE_APP_TYPE (paperplane_app_get_type ())
G_DECLARE_FINAL_TYPE (PaperplaneApp, paperplane_app, PAPERPLANE, APP, GtkApplication)
PaperplaneApp *paperplane_app_new (void);
#endif /* __PAPERPLANEAPP_H */

36
src/paperplaneappwin.c Normal file
View File

@@ -0,0 +1,36 @@
#include <gtk/gtk.h>
#include "paperplaneapp.h"
#include "paperplaneappwin.h"
struct _PaperplaneAppWindow
{
GtkApplicationWindow parent;
};
G_DEFINE_TYPE(PaperplaneAppWindow, paperplane_app_window, GTK_TYPE_APPLICATION_WINDOW);
static void
paperplane_app_window_init (PaperplaneAppWindow *win)
{
gtk_widget_init_template (GTK_WIDGET (win));
}
static void
paperplane_app_window_class_init (PaperplaneAppWindowClass *class)
{
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (class),
"/org/gtk/paperplaneapp/window.ui");
}
PaperplaneAppWindow *
paperplane_app_window_new (PaperplaneApp *app)
{
return g_object_new (PAPERPLANE_APP_WINDOW_TYPE, "application", app, NULL);
}
void
paperplane_app_window_open (PaperplaneAppWindow *win,
GFile *file)
{
}

16
src/paperplaneappwin.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef __PAPERPLANEAPPWIN_H
#define __PAPERPLANEAPPWIN_H
#include <gtk/gtk.h>
#include "paperplaneapp.h"
#define PAPERPLANE_APP_WINDOW_TYPE (paperplane_app_window_get_type ())
G_DECLARE_FINAL_TYPE (PaperplaneAppWindow, paperplane_app_window, PAPERPLANE, APP_WINDOW, GtkApplicationWindow)
PaperplaneAppWindow *paperplane_app_window_new (PaperplaneApp *app);
void paperplane_app_window_open (PaperplaneAppWindow *win,
GFile *file);
#endif /* __PAPERPLANEAPPWIN_H */

692
src/resources.c Normal file
View File

@@ -0,0 +1,692 @@
#include <gio/gio.h>
#if defined (__ELF__) && ( __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6))
# define SECTION __attribute__ ((section (".gresource.paperplaneapp"), aligned (8)))
#else
# define SECTION
#endif
static const SECTION union { const guint8 data[4240]; const double alignment; void * const ptr;} paperplaneapp_resource_data = { {
0x47, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x18, 0x00, 0x00, 0x00, 0xac, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x28, 0x05, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
0x04, 0x00, 0x00, 0x00, 0x4b, 0x50, 0x90, 0x0b,
0x01, 0x00, 0x00, 0x00, 0xac, 0x00, 0x00, 0x00,
0x04, 0x00, 0x4c, 0x00, 0xb0, 0x00, 0x00, 0x00,
0xb4, 0x00, 0x00, 0x00, 0xd4, 0xb5, 0x02, 0x00,
0xff, 0xff, 0xff, 0xff, 0xb4, 0x00, 0x00, 0x00,
0x01, 0x00, 0x4c, 0x00, 0xb8, 0x00, 0x00, 0x00,
0xbc, 0x00, 0x00, 0x00, 0x7c, 0xc7, 0x2b, 0xab,
0x03, 0x00, 0x00, 0x00, 0xbc, 0x00, 0x00, 0x00,
0x09, 0x00, 0x76, 0x00, 0xc8, 0x00, 0x00, 0x00,
0x76, 0x10, 0x00, 0x00, 0xb8, 0xb2, 0x4d, 0x72,
0x04, 0x00, 0x00, 0x00, 0x76, 0x10, 0x00, 0x00,
0x0e, 0x00, 0x4c, 0x00, 0x84, 0x10, 0x00, 0x00,
0x88, 0x10, 0x00, 0x00, 0x40, 0xf4, 0xbf, 0x00,
0x00, 0x00, 0x00, 0x00, 0x88, 0x10, 0x00, 0x00,
0x04, 0x00, 0x4c, 0x00, 0x8c, 0x10, 0x00, 0x00,
0x90, 0x10, 0x00, 0x00, 0x6f, 0x72, 0x67, 0x2f,
0x04, 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x77, 0x69, 0x6e, 0x64,
0x6f, 0x77, 0x2e, 0x75, 0x69, 0x00, 0x00, 0x00,
0x9e, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x3c, 0x3f, 0x78, 0x6d, 0x6c, 0x20, 0x76, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x3d, 0x22, 0x31,
0x2e, 0x30, 0x22, 0x20, 0x65, 0x6e, 0x63, 0x6f,
0x64, 0x69, 0x6e, 0x67, 0x3d, 0x22, 0x55, 0x54,
0x46, 0x2d, 0x38, 0x22, 0x3f, 0x3e, 0x0a, 0x3c,
0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63,
0x65, 0x3e, 0x3c, 0x21, 0x2d, 0x2d, 0x20, 0x69,
0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65,
0x2d, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
0x73, 0x20, 0x67, 0x74, 0x6b, 0x2b, 0x20, 0x33,
0x2e, 0x38, 0x20, 0x2d, 0x2d, 0x3e, 0x3c, 0x74,
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x20,
0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x50,
0x61, 0x70, 0x65, 0x72, 0x70, 0x6c, 0x61, 0x6e,
0x65, 0x41, 0x70, 0x70, 0x57, 0x69, 0x6e, 0x64,
0x6f, 0x77, 0x22, 0x20, 0x70, 0x61, 0x72, 0x65,
0x6e, 0x74, 0x3d, 0x22, 0x47, 0x74, 0x6b, 0x41,
0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77,
0x22, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65,
0x3d, 0x22, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x22,
0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x3d, 0x22, 0x79,
0x65, 0x73, 0x22, 0x3e, 0x50, 0x61, 0x70, 0x65,
0x72, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0x3e,
0x36, 0x30, 0x30, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x64, 0x65,
0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x68, 0x65,
0x69, 0x67, 0x68, 0x74, 0x22, 0x3e, 0x34, 0x30,
0x30, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x63, 0x68, 0x69,
0x6c, 0x64, 0x3e, 0x3c, 0x6f, 0x62, 0x6a, 0x65,
0x63, 0x74, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73,
0x3d, 0x22, 0x47, 0x74, 0x6b, 0x41, 0x6c, 0x69,
0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x22,
0x3e, 0x54, 0x72, 0x75, 0x65, 0x3c, 0x2f, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75,
0x73, 0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x22, 0x74, 0x6f, 0x70, 0x5f, 0x70,
0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x3e,
0x33, 0x30, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e,
0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6c, 0x65, 0x66,
0x74, 0x5f, 0x70, 0x61, 0x64, 0x64, 0x69, 0x6e,
0x67, 0x22, 0x3e, 0x31, 0x30, 0x30, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x70,
0x61, 0x64, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x3e,
0x31, 0x30, 0x30, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x63,
0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x6f, 0x62,
0x6a, 0x65, 0x63, 0x74, 0x20, 0x63, 0x6c, 0x61,
0x73, 0x73, 0x3d, 0x22, 0x47, 0x74, 0x6b, 0x42,
0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69, 0x73, 0x69,
0x62, 0x6c, 0x65, 0x22, 0x3e, 0x54, 0x72, 0x75,
0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x63, 0x61, 0x6e, 0x5f,
0x66, 0x6f, 0x63, 0x75, 0x73, 0x22, 0x3e, 0x46,
0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6f,
0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x22, 0x3e, 0x76, 0x65, 0x72, 0x74,
0x69, 0x63, 0x61, 0x6c, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x63, 0x6c,
0x61, 0x73, 0x73, 0x3d, 0x22, 0x47, 0x74, 0x6b,
0x42, 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e,
0x61, 0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69, 0x73,
0x69, 0x62, 0x6c, 0x65, 0x22, 0x3e, 0x54, 0x72,
0x75, 0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e,
0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x61, 0x6e,
0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x22, 0x3e,
0x46, 0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x5f, 0x62,
0x6f, 0x74, 0x74, 0x6f, 0x6d, 0x22, 0x3e, 0x33,
0x30, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x6f, 0x72, 0x69, 0x65,
0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
0x3e, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x61,
0x6c, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x63, 0x68, 0x69,
0x6c, 0x64, 0x3e, 0x3c, 0x6f, 0x62, 0x6a, 0x65,
0x63, 0x74, 0x20, 0x63, 0x6c, 0x61, 0x73, 0x73,
0x3d, 0x22, 0x47, 0x74, 0x6b, 0x4c, 0x61, 0x62,
0x65, 0x6c, 0x22, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69, 0x73, 0x69,
0x62, 0x6c, 0x65, 0x22, 0x3e, 0x54, 0x72, 0x75,
0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x63, 0x61, 0x6e, 0x5f,
0x66, 0x6f, 0x63, 0x75, 0x73, 0x22, 0x3e, 0x46,
0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x68,
0x61, 0x6c, 0x69, 0x67, 0x6e, 0x22, 0x3e, 0x73,
0x74, 0x61, 0x72, 0x74, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6c,
0x61, 0x62, 0x65, 0x6c, 0x22, 0x20, 0x74, 0x72,
0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x61, 0x62,
0x6c, 0x65, 0x3d, 0x22, 0x79, 0x65, 0x73, 0x22,
0x3e, 0x54, 0x68, 0x69, 0x73, 0x20, 0x64, 0x65,
0x76, 0x69, 0x63, 0x65, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
0x65, 0x73, 0x3e, 0x3c, 0x61, 0x74, 0x74, 0x72,
0x69, 0x62, 0x75, 0x74, 0x65, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x66, 0x6f, 0x6e, 0x74,
0x2d, 0x64, 0x65, 0x73, 0x63, 0x22, 0x20, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3d, 0x22, 0x43, 0x61,
0x6e, 0x74, 0x61, 0x72, 0x65, 0x6c, 0x6c, 0x20,
0x31, 0x31, 0x22, 0x2f, 0x3e, 0x3c, 0x2f, 0x61,
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
0x73, 0x3e, 0x3c, 0x2f, 0x6f, 0x62, 0x6a, 0x65,
0x63, 0x74, 0x3e, 0x3c, 0x70, 0x61, 0x63, 0x6b,
0x69, 0x6e, 0x67, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x65, 0x78, 0x70, 0x61,
0x6e, 0x64, 0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73,
0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x6c,
0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65, 0x3c,
0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65,
0x3d, 0x22, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69,
0x6f, 0x6e, 0x22, 0x3e, 0x30, 0x3c, 0x2f, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e,
0x3c, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e,
0x67, 0x3e, 0x3c, 0x2f, 0x63, 0x68, 0x69, 0x6c,
0x64, 0x3e, 0x3c, 0x63, 0x68, 0x69, 0x6c, 0x64,
0x3e, 0x3c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74,
0x20, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22,
0x47, 0x74, 0x6b, 0x42, 0x6f, 0x78, 0x22, 0x20,
0x69, 0x64, 0x3d, 0x22, 0x44, 0x65, 0x76, 0x69,
0x63, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e,
0x74, 0x22, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x22, 0x76, 0x69, 0x73, 0x69, 0x62,
0x6c, 0x65, 0x22, 0x3e, 0x54, 0x72, 0x75, 0x65,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x22, 0x63, 0x61, 0x6e, 0x5f, 0x66,
0x6f, 0x63, 0x75, 0x73, 0x22, 0x3e, 0x46, 0x61,
0x6c, 0x73, 0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x6f, 0x72,
0x69, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x22, 0x3e, 0x76, 0x65, 0x72, 0x74, 0x69,
0x63, 0x61, 0x6c, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x63,
0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x6f, 0x62,
0x6a, 0x65, 0x63, 0x74, 0x20, 0x63, 0x6c, 0x61,
0x73, 0x73, 0x3d, 0x22, 0x47, 0x74, 0x6b, 0x4c,
0x61, 0x62, 0x65, 0x6c, 0x22, 0x20, 0x69, 0x64,
0x3d, 0x22, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69,
0x73, 0x69, 0x62, 0x6c, 0x65, 0x22, 0x3e, 0x54,
0x72, 0x75, 0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x61,
0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x22,
0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x68, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x22,
0x3e, 0x73, 0x74, 0x61, 0x72, 0x74, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x20,
0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x3d, 0x22, 0x79, 0x65,
0x73, 0x22, 0x3e, 0x54, 0x6f, 0x62, 0x69, 0x27,
0x73, 0x20, 0x4c, 0x61, 0x70, 0x74, 0x6f, 0x70,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x61, 0x74, 0x74, 0x72,
0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x3e, 0x3c,
0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
0x65, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x66, 0x6f, 0x6e, 0x74, 0x2d, 0x64, 0x65, 0x73,
0x63, 0x22, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x3d, 0x22, 0x43, 0x61, 0x6e, 0x74, 0x61, 0x72,
0x65, 0x6c, 0x6c, 0x20, 0x32, 0x30, 0x22, 0x2f,
0x3e, 0x3c, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69,
0x62, 0x75, 0x74, 0x65, 0x73, 0x3e, 0x3c, 0x2f,
0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x3e, 0x3c,
0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x22, 0x3e,
0x46, 0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x66, 0x69, 0x6c, 0x6c, 0x22, 0x3e, 0x54, 0x72,
0x75, 0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e,
0x61, 0x6d, 0x65, 0x3d, 0x22, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x30,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x2f, 0x70, 0x61, 0x63,
0x6b, 0x69, 0x6e, 0x67, 0x3e, 0x3c, 0x2f, 0x63,
0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x63, 0x68,
0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x70, 0x6c, 0x61,
0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72,
0x2f, 0x3e, 0x3c, 0x2f, 0x63, 0x68, 0x69, 0x6c,
0x64, 0x3e, 0x3c, 0x2f, 0x6f, 0x62, 0x6a, 0x65,
0x63, 0x74, 0x3e, 0x3c, 0x70, 0x61, 0x63, 0x6b,
0x69, 0x6e, 0x67, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x65, 0x78, 0x70, 0x61,
0x6e, 0x64, 0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73,
0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x6c,
0x22, 0x3e, 0x54, 0x72, 0x75, 0x65, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
0x6e, 0x22, 0x3e, 0x31, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x2f, 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67,
0x3e, 0x3c, 0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64,
0x3e, 0x3c, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63,
0x74, 0x3e, 0x3c, 0x70, 0x61, 0x63, 0x6b, 0x69,
0x6e, 0x67, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x22, 0x65, 0x78, 0x70, 0x61, 0x6e,
0x64, 0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x22, 0x66, 0x69, 0x6c, 0x6c, 0x22,
0x3e, 0x54, 0x72, 0x75, 0x65, 0x3c, 0x2f, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
0x22, 0x3e, 0x30, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x2f,
0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x3e,
0x3c, 0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e,
0x3c, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c,
0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x63,
0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x47, 0x74,
0x6b, 0x42, 0x6f, 0x78, 0x22, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69,
0x73, 0x69, 0x62, 0x6c, 0x65, 0x22, 0x3e, 0x54,
0x72, 0x75, 0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x61,
0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x22,
0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x6f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x76, 0x65,
0x72, 0x74, 0x69, 0x63, 0x61, 0x6c, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e,
0x3c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x20,
0x63, 0x6c, 0x61, 0x73, 0x73, 0x3d, 0x22, 0x47,
0x74, 0x6b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65,
0x22, 0x3e, 0x54, 0x72, 0x75, 0x65, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63,
0x75, 0x73, 0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73,
0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x68, 0x61, 0x6c, 0x69,
0x67, 0x6e, 0x22, 0x3e, 0x73, 0x74, 0x61, 0x72,
0x74, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x6c, 0x61, 0x62, 0x65,
0x6c, 0x22, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73,
0x6c, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3d,
0x22, 0x79, 0x65, 0x73, 0x22, 0x3e, 0x44, 0x65,
0x76, 0x69, 0x63, 0x65, 0x73, 0x20, 0x6f, 0x6e,
0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x6e, 0x65,
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x3c, 0x2f, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e,
0x3c, 0x2f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74,
0x3e, 0x3c, 0x70, 0x61, 0x63, 0x6b, 0x69, 0x6e,
0x67, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65,
0x3d, 0x22, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64,
0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65, 0x3c,
0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65,
0x3d, 0x22, 0x66, 0x69, 0x6c, 0x6c, 0x22, 0x3e,
0x54, 0x72, 0x75, 0x65, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x70,
0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22,
0x3e, 0x30, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x2f, 0x70,
0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x3e, 0x3c,
0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c,
0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x70,
0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64,
0x65, 0x72, 0x2f, 0x3e, 0x3c, 0x2f, 0x63, 0x68,
0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x73, 0x74, 0x79,
0x6c, 0x65, 0x3e, 0x3c, 0x63, 0x6c, 0x61, 0x73,
0x73, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75,
0x6e, 0x64, 0x22, 0x2f, 0x3e, 0x3c, 0x2f, 0x73,
0x74, 0x79, 0x6c, 0x65, 0x3e, 0x3c, 0x2f, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x3e, 0x3c, 0x70,
0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x3e, 0x3c,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x65,
0x78, 0x70, 0x61, 0x6e, 0x64, 0x22, 0x3e, 0x46,
0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x66,
0x69, 0x6c, 0x6c, 0x22, 0x3e, 0x54, 0x72, 0x75,
0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x70, 0x6f, 0x73, 0x69,
0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x31, 0x3c,
0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x3e, 0x3c, 0x2f, 0x70, 0x61, 0x63, 0x6b,
0x69, 0x6e, 0x67, 0x3e, 0x3c, 0x2f, 0x63, 0x68,
0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x2f, 0x6f, 0x62,
0x6a, 0x65, 0x63, 0x74, 0x3e, 0x3c, 0x2f, 0x63,
0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x2f, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x3e, 0x3c, 0x2f,
0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x63,
0x68, 0x69, 0x6c, 0x64, 0x20, 0x74, 0x79, 0x70,
0x65, 0x3d, 0x22, 0x74, 0x69, 0x74, 0x6c, 0x65,
0x62, 0x61, 0x72, 0x22, 0x3e, 0x3c, 0x6f, 0x62,
0x6a, 0x65, 0x63, 0x74, 0x20, 0x63, 0x6c, 0x61,
0x73, 0x73, 0x3d, 0x22, 0x47, 0x74, 0x6b, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x61, 0x72,
0x22, 0x20, 0x69, 0x64, 0x3d, 0x22, 0x68, 0x65,
0x61, 0x64, 0x65, 0x72, 0x22, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x76, 0x69,
0x73, 0x69, 0x62, 0x6c, 0x65, 0x22, 0x3e, 0x54,
0x72, 0x75, 0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x63, 0x61,
0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75, 0x73, 0x22,
0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x63, 0x6c,
0x6f, 0x73, 0x65, 0x5f, 0x62, 0x75, 0x74, 0x74,
0x6f, 0x6e, 0x22, 0x3e, 0x54, 0x72, 0x75, 0x65,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x22, 0x64, 0x65, 0x63, 0x6f, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61,
0x79, 0x6f, 0x75, 0x74, 0x22, 0x3e, 0x3a, 0x63,
0x6c, 0x6f, 0x73, 0x65, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x63, 0x6c,
0x61, 0x73, 0x73, 0x3d, 0x22, 0x47, 0x74, 0x6b,
0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x22, 0x20,
0x69, 0x64, 0x3d, 0x22, 0x70, 0x6f, 0x77, 0x65,
0x72, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x22,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65,
0x22, 0x3e, 0x54, 0x72, 0x75, 0x65, 0x3c, 0x2f,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
0x22, 0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63,
0x75, 0x73, 0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73,
0x65, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x79, 0x3e, 0x3c, 0x2f, 0x6f, 0x62,
0x6a, 0x65, 0x63, 0x74, 0x3e, 0x3c, 0x70, 0x61,
0x63, 0x6b, 0x69, 0x6e, 0x67, 0x3e, 0x3c, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20,
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x70, 0x61,
0x63, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22,
0x3e, 0x65, 0x6e, 0x64, 0x3c, 0x2f, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c,
0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22, 0x70,
0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22,
0x3e, 0x31, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x2f, 0x70,
0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x3e, 0x3c,
0x2f, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c,
0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x63, 0x6c,
0x61, 0x73, 0x73, 0x3d, 0x22, 0x47, 0x74, 0x6b,
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x20, 0x69,
0x64, 0x3d, 0x22, 0x6c, 0x69, 0x6e, 0x65, 0x73,
0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x76, 0x69, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x22,
0x3e, 0x54, 0x72, 0x75, 0x65, 0x3c, 0x2f, 0x70,
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x3e,
0x3c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x22,
0x63, 0x61, 0x6e, 0x5f, 0x66, 0x6f, 0x63, 0x75,
0x73, 0x22, 0x3e, 0x46, 0x61, 0x6c, 0x73, 0x65,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61, 0x6d,
0x65, 0x3d, 0x22, 0x6c, 0x61, 0x62, 0x65, 0x6c,
0x22, 0x20, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c,
0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3d, 0x22,
0x79, 0x65, 0x73, 0x22, 0x3e, 0x56, 0x69, 0x73,
0x69, 0x62, 0x6c, 0x65, 0x20, 0x6f, 0x6e, 0x20,
0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x3c,
0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
0x79, 0x3e, 0x3c, 0x2f, 0x6f, 0x62, 0x6a, 0x65,
0x63, 0x74, 0x3e, 0x3c, 0x70, 0x61, 0x63, 0x6b,
0x69, 0x6e, 0x67, 0x3e, 0x3c, 0x70, 0x72, 0x6f,
0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e, 0x61,
0x6d, 0x65, 0x3d, 0x22, 0x70, 0x61, 0x63, 0x6b,
0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3e, 0x65,
0x6e, 0x64, 0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x79, 0x3e, 0x3c, 0x70, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x20, 0x6e,
0x61, 0x6d, 0x65, 0x3d, 0x22, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3e, 0x32,
0x3c, 0x2f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x79, 0x3e, 0x3c, 0x2f, 0x70, 0x61, 0x63,
0x6b, 0x69, 0x6e, 0x67, 0x3e, 0x3c, 0x2f, 0x63,
0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x2f, 0x6f,
0x62, 0x6a, 0x65, 0x63, 0x74, 0x3e, 0x3c, 0x2f,
0x63, 0x68, 0x69, 0x6c, 0x64, 0x3e, 0x3c, 0x2f,
0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
0x3e, 0x3c, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
0x66, 0x61, 0x63, 0x65, 0x3e, 0x0a, 0x00, 0x00,
0x28, 0x75, 0x75, 0x61, 0x79, 0x29, 0x70, 0x61,
0x70, 0x65, 0x72, 0x70, 0x6c, 0x61, 0x6e, 0x65,
0x61, 0x70, 0x70, 0x2f, 0x02, 0x00, 0x00, 0x00,
0x67, 0x74, 0x6b, 0x2f, 0x03, 0x00, 0x00, 0x00
} };
static GStaticResource static_resource = { paperplaneapp_resource_data.data, sizeof (paperplaneapp_resource_data.data), NULL, NULL, NULL };
extern GResource *paperplaneapp_get_resource (void);
GResource *paperplaneapp_get_resource (void)
{
return g_static_resource_get_resource (&static_resource);
}
/*
If G_HAS_CONSTRUCTORS is true then the compiler support *both* constructors and
destructors, in a sane way, including e.g. on library unload. If not you're on
your own.
Some compilers need #pragma to handle this, which does not work with macros,
so the way you need to use this is (for constructors):
#ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA
#pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(my_constructor)
#endif
G_DEFINE_CONSTRUCTOR(my_constructor)
static void my_constructor(void) {
...
}
*/
#ifndef __GTK_DOC_IGNORE__
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
#define G_HAS_CONSTRUCTORS 1
#define G_DEFINE_CONSTRUCTOR(_func) static void __attribute__((constructor)) _func (void);
#define G_DEFINE_DESTRUCTOR(_func) static void __attribute__((destructor)) _func (void);
#elif defined (_MSC_VER) && (_MSC_VER >= 1500)
/* Visual studio 2008 and later has _Pragma */
#define G_HAS_CONSTRUCTORS 1
/* We do some weird things to avoid the constructors being optimized
* away on VS2015 if WholeProgramOptimization is enabled. First we
* make a reference to the array from the wrapper to make sure its
* references. Then we use a pragma to make sure the wrapper function
* symbol is always included at the link stage. Also, the symbols
* need to be extern (but not dllexport), even though they are not
* really used from another object file.
*/
/* We need to account for differences between the mangling of symbols
* for Win32 (x86) and x64 programs, as symbols on Win32 are prefixed
* with an underscore but symbols on x64 are not.
*/
#ifdef _WIN64
#define G_MSVC_SYMBOL_PREFIX ""
#else
#define G_MSVC_SYMBOL_PREFIX "_"
#endif
#define G_DEFINE_CONSTRUCTOR(_func) G_MSVC_CTOR (_func, G_MSVC_SYMBOL_PREFIX)
#define G_DEFINE_DESTRUCTOR(_func) G_MSVC_DTOR (_func, G_MSVC_SYMBOL_PREFIX)
#define G_MSVC_CTOR(_func,_sym_prefix) \
static void _func(void); \
extern int (* _array ## _func)(void); \
int _func ## _wrapper(void) { _func(); g_slist_find (NULL, _array ## _func); return 0; } \
__pragma(comment(linker,"/include:" _sym_prefix # _func "_wrapper")) \
__pragma(section(".CRT$XCU",read)) \
__declspec(allocate(".CRT$XCU")) int (* _array ## _func)(void) = _func ## _wrapper;
#define G_MSVC_DTOR(_func,_sym_prefix) \
static void _func(void); \
extern int (* _array ## _func)(void); \
int _func ## _constructor(void) { atexit (_func); g_slist_find (NULL, _array ## _func); return 0; } \
__pragma(comment(linker,"/include:" _sym_prefix # _func "_constructor")) \
__pragma(section(".CRT$XCU",read)) \
__declspec(allocate(".CRT$XCU")) int (* _array ## _func)(void) = _func ## _constructor;
#elif defined (_MSC_VER)
#define G_HAS_CONSTRUCTORS 1
/* Pre Visual studio 2008 must use #pragma section */
#define G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA 1
#define G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA 1
#define G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(_func) \
section(".CRT$XCU",read)
#define G_DEFINE_CONSTRUCTOR(_func) \
static void _func(void); \
static int _func ## _wrapper(void) { _func(); return 0; } \
__declspec(allocate(".CRT$XCU")) static int (*p)(void) = _func ## _wrapper;
#define G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(_func) \
section(".CRT$XCU",read)
#define G_DEFINE_DESTRUCTOR(_func) \
static void _func(void); \
static int _func ## _constructor(void) { atexit (_func); return 0; } \
__declspec(allocate(".CRT$XCU")) static int (* _array ## _func)(void) = _func ## _constructor;
#elif defined(__SUNPRO_C)
/* This is not tested, but i believe it should work, based on:
* http://opensource.apple.com/source/OpenSSL098/OpenSSL098-35/src/fips/fips_premain.c
*/
#define G_HAS_CONSTRUCTORS 1
#define G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA 1
#define G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA 1
#define G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(_func) \
init(_func)
#define G_DEFINE_CONSTRUCTOR(_func) \
static void _func(void);
#define G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(_func) \
fini(_func)
#define G_DEFINE_DESTRUCTOR(_func) \
static void _func(void);
#else
/* constructors not supported for this compiler */
#endif
#endif /* __GTK_DOC_IGNORE__ */
#ifdef G_HAS_CONSTRUCTORS
#ifdef G_DEFINE_CONSTRUCTOR_NEEDS_PRAGMA
#pragma G_DEFINE_CONSTRUCTOR_PRAGMA_ARGS(resource_constructor)
#endif
G_DEFINE_CONSTRUCTOR(resource_constructor)
#ifdef G_DEFINE_DESTRUCTOR_NEEDS_PRAGMA
#pragma G_DEFINE_DESTRUCTOR_PRAGMA_ARGS(resource_destructor)
#endif
G_DEFINE_DESTRUCTOR(resource_destructor)
#else
#warning "Constructor not supported on this compiler, linking in resources will not work"
#endif
static void resource_constructor (void)
{
g_static_resource_init (&static_resource);
}
static void resource_destructor (void)
{
g_static_resource_fini (&static_resource);
}

145
src/window.ui Normal file
View File

@@ -0,0 +1,145 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.8 -->
<template class="PaperplaneAppWindow" parent="GtkApplicationWindow">
<property name="title" translatable="yes">Paperplane</property>
<property name="default_width">600</property>
<property name="default_height">400</property>
<child>
<object class="GtkAlignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="top_padding">30</property>
<property name="left_padding">100</property>
<property name="right_padding">100</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">30</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">This device</property>
<attributes>
<attribute name="font-desc" value="Cantarell 11"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox" id="DeviceElement">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="deviceName">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Tobi's Laptop</property>
<attributes>
<attribute name="font-desc" value="Cantarell 20"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Devices on this network</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<placeholder/>
</child>
<style>
<class name="background"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="header">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="show_close_button">True</property>
<property name="decoration_layout">:close</property>
<child>
<object class="GtkSwitch" id="powerSwitch">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="lines_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Visible on network</property>
</object>
<packing>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>
</object>
</child>
</template>
</interface>