mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: add inside guards
Like the previous, but for libsysprof-ui.
This commit is contained in:
@ -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>
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "sysprof-zoom-manager.h"
|
||||
#include <sysprof-ui.h>
|
||||
|
||||
static void
|
||||
test_zoom_manager (void)
|
||||
|
||||
Reference in New Issue
Block a user