libsysprof-ui: add inside guards

Like the previous, but for libsysprof-ui.
This commit is contained in:
Christian Hergert
2019-05-08 17:10:08 -07:00
parent 7ea6ca43ec
commit a6e061f5b1
20 changed files with 77 additions and 1 deletions

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include <sysprof.h>

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include "sysprof-version-macros.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include "sysprof-version-macros.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include "sysprof-line-visualizer-row.h"
#include "sysprof-version-macros.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include "sysprof-version-macros.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include <sysprof.h>

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include "sysprof-visualizer-row.h"
#include "sysprof-version-macros.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include "sysprof-visualizer-row.h"
#include "sysprof-version-macros.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gio/gio.h>
#include "sysprof-version-macros.h"

View File

@ -21,6 +21,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include "sysprof-version-macros.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include <sysprof.h>

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include "sysprof-profiler.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include <sysprof.h>

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include "sysprof-capture-reader.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include "sysprof-capture-reader.h"

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
G_BEGIN_DECLS

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <gtk/gtk.h>
#include <sysprof.h>

View File

@ -20,6 +20,10 @@
#pragma once
#if !defined (SYSPROF_UI_INSIDE) && !defined (SYSPROF_UI_COMPILATION)
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <glib-object.h>
#include "sysprof-version-macros.h"

View File

@ -1,4 +1,4 @@
#include "sysprof-zoom-manager.h"
#include <sysprof-ui.h>
static void
test_zoom_manager (void)