From 23d5f3731bd0d08a1c732ec025126af56865713f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Nov 2024 17:42:07 -0500 Subject: Use angle brackets for library includes --- include/ganv/Box.hpp | 10 +++++----- include/ganv/Canvas.hpp | 8 ++++---- include/ganv/Circle.hpp | 12 ++++++------ include/ganv/Edge.hpp | 14 +++++++------- include/ganv/Item.hpp | 6 +++--- include/ganv/Module.hpp | 16 ++++++++-------- include/ganv/Node.hpp | 10 +++++----- include/ganv/Port.hpp | 8 ++++---- include/ganv/box.h | 4 ++-- include/ganv/canvas.h | 4 ++-- include/ganv/circle.h | 4 ++-- include/ganv/edge.h | 4 ++-- include/ganv/ganv.h | 20 ++++++++++---------- include/ganv/ganv.hpp | 12 ++++++------ include/ganv/group.h | 2 +- include/ganv/module.h | 7 +++---- include/ganv/node.h | 4 ++-- include/ganv/port.h | 4 ++-- include/ganv/text.h | 2 +- include/ganv/widget.h | 2 +- include/ganv/wrap.hpp | 2 +- src/Canvas.cpp | 30 +++++++++++++++--------------- src/Port.cpp | 12 ++++++------ src/boilerplate.h | 2 +- src/box.c | 8 ++++---- src/circle.c | 12 ++++++------ src/edge.c | 10 +++++----- src/ganv-private.h | 8 ++++---- src/ganv_bench.cpp | 10 +++++----- src/ganv_test.c | 4 ++-- src/group.c | 4 ++-- src/item.c | 4 ++-- src/module.c | 18 +++++++++--------- src/node.c | 12 ++++++------ src/port.c | 18 +++++++++--------- src/text.c | 10 +++++----- src/widget.c | 6 +++--- 37 files changed, 161 insertions(+), 162 deletions(-) diff --git a/include/ganv/Box.hpp b/include/ganv/Box.hpp index fe24622..b2e0f42 100644 --- a/include/ganv/Box.hpp +++ b/include/ganv/Box.hpp @@ -16,11 +16,11 @@ #ifndef GANV_BOX_HPP #define GANV_BOX_HPP -#include "ganv/Node.hpp" -#include "ganv/box.h" -#include "ganv/node.h" -#include "ganv/types.h" -#include "ganv/wrap.hpp" +#include +#include +#include +#include +#include #include diff --git a/include/ganv/Canvas.hpp b/include/ganv/Canvas.hpp index fe94ff9..00f8919 100644 --- a/include/ganv/Canvas.hpp +++ b/include/ganv/Canvas.hpp @@ -16,10 +16,10 @@ #ifndef GANV_CANVAS_HPP #define GANV_CANVAS_HPP -#include "ganv/canvas.h" -#include "ganv/item.h" -#include "ganv/types.h" -#include "ganv/wrap.hpp" +#include +#include +#include +#include #include #include diff --git a/include/ganv/Circle.hpp b/include/ganv/Circle.hpp index b60b89d..2842b3c 100644 --- a/include/ganv/Circle.hpp +++ b/include/ganv/Circle.hpp @@ -16,12 +16,12 @@ #ifndef GANV_CIRCLE_HPP #define GANV_CIRCLE_HPP -#include "ganv/Canvas.hpp" -#include "ganv/Node.hpp" -#include "ganv/circle.h" -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/wrap.hpp" +#include +#include +#include +#include +#include +#include #include diff --git a/include/ganv/Edge.hpp b/include/ganv/Edge.hpp index a0d9a7c..aa2292c 100644 --- a/include/ganv/Edge.hpp +++ b/include/ganv/Edge.hpp @@ -16,13 +16,13 @@ #ifndef GANV_EDGE_HPP #define GANV_EDGE_HPP -#include "ganv/Canvas.hpp" -#include "ganv/Item.hpp" -#include "ganv/Node.hpp" -#include "ganv/edge.h" -#include "ganv/item.h" -#include "ganv/types.h" -#include "ganv/wrap.hpp" +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/include/ganv/Item.hpp b/include/ganv/Item.hpp index 0d14a19..fbb8aff 100644 --- a/include/ganv/Item.hpp +++ b/include/ganv/Item.hpp @@ -16,9 +16,9 @@ #ifndef GANV_ITEM_HPP #define GANV_ITEM_HPP -#include "ganv/Canvas.hpp" -#include "ganv/item.h" -#include "ganv/wrap.hpp" +#include +#include +#include #include #include diff --git a/include/ganv/Module.hpp b/include/ganv/Module.hpp index 8beea60..ba263fb 100644 --- a/include/ganv/Module.hpp +++ b/include/ganv/Module.hpp @@ -16,14 +16,14 @@ #ifndef GANV_MODULE_HPP #define GANV_MODULE_HPP -#include "ganv/Box.hpp" -#include "ganv/Canvas.hpp" -#include "ganv/Port.hpp" -#include "ganv/box.h" -#include "ganv/item.h" -#include "ganv/module.h" -#include "ganv/types.h" -#include "ganv/wrap.hpp" +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/include/ganv/Node.hpp b/include/ganv/Node.hpp index 7980566..75c1bdb 100644 --- a/include/ganv/Node.hpp +++ b/include/ganv/Node.hpp @@ -16,11 +16,11 @@ #ifndef GANV_NODE_HPP #define GANV_NODE_HPP -#include "ganv/Item.hpp" -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/types.h" -#include "ganv/wrap.hpp" +#include +#include +#include +#include +#include #include #include diff --git a/include/ganv/Port.hpp b/include/ganv/Port.hpp index c665b08..714fcec 100644 --- a/include/ganv/Port.hpp +++ b/include/ganv/Port.hpp @@ -16,10 +16,10 @@ #ifndef GANV_PORT_HPP #define GANV_PORT_HPP -#include "ganv/Box.hpp" -#include "ganv/port.h" -#include "ganv/types.h" -#include "ganv/wrap.hpp" +#include +#include +#include +#include #include #include diff --git a/include/ganv/box.h b/include/ganv/box.h index 11e0662..049c281 100644 --- a/include/ganv/box.h +++ b/include/ganv/box.h @@ -18,8 +18,8 @@ #ifndef GANV_BOX_H #define GANV_BOX_H -#include "ganv/node.h" -#include "ganv/types.h" +#include +#include #include #include diff --git a/include/ganv/canvas.h b/include/ganv/canvas.h index ca50b21..60f076a 100644 --- a/include/ganv/canvas.h +++ b/include/ganv/canvas.h @@ -16,8 +16,8 @@ #ifndef GANV_CANVAS_H #define GANV_CANVAS_H -#include "ganv/item.h" -#include "ganv/types.h" +#include +#include #include #include diff --git a/include/ganv/circle.h b/include/ganv/circle.h index 23bfa2d..6145395 100644 --- a/include/ganv/circle.h +++ b/include/ganv/circle.h @@ -18,8 +18,8 @@ #ifndef GANV_CIRCLE_H #define GANV_CIRCLE_H -#include "ganv/node.h" -#include "ganv/types.h" +#include +#include #include #include diff --git a/include/ganv/edge.h b/include/ganv/edge.h index 8bf8ad0..1451cb1 100644 --- a/include/ganv/edge.h +++ b/include/ganv/edge.h @@ -18,8 +18,8 @@ #ifndef GANV_EDGE_H #define GANV_EDGE_H -#include "ganv/item.h" -#include "ganv/types.h" +#include +#include #include #include diff --git a/include/ganv/ganv.h b/include/ganv/ganv.h index f86165f..4a67175 100644 --- a/include/ganv/ganv.h +++ b/include/ganv/ganv.h @@ -16,15 +16,15 @@ #ifndef GANV_GANV_H #define GANV_GANV_H -#include "ganv/box.h" // IWYU pragma: export -#include "ganv/canvas.h" // IWYU pragma: export -#include "ganv/circle.h" // IWYU pragma: export -#include "ganv/edge.h" // IWYU pragma: export -#include "ganv/group.h" // IWYU pragma: export -#include "ganv/module.h" // IWYU pragma: export -#include "ganv/node.h" // IWYU pragma: export -#include "ganv/port.h" // IWYU pragma: export -#include "ganv/text.h" // IWYU pragma: export -#include "ganv/types.h" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export #endif /* GANV_GANV_H */ diff --git a/include/ganv/ganv.hpp b/include/ganv/ganv.hpp index 3e3f259..fe35890 100644 --- a/include/ganv/ganv.hpp +++ b/include/ganv/ganv.hpp @@ -16,11 +16,11 @@ #ifndef GANV_GANV_HPP #define GANV_GANV_HPP -#include "ganv/Canvas.hpp" // IWYU pragma: export -#include "ganv/Circle.hpp" // IWYU pragma: export -#include "ganv/Edge.hpp" // IWYU pragma: export -#include "ganv/Module.hpp" // IWYU pragma: export -#include "ganv/Node.hpp" // IWYU pragma: export -#include "ganv/Port.hpp" // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export +#include // IWYU pragma: export #endif // GANV_GANV_HPP diff --git a/include/ganv/group.h b/include/ganv/group.h index 72efa3c..a38a055 100644 --- a/include/ganv/group.h +++ b/include/ganv/group.h @@ -18,7 +18,7 @@ #ifndef GANV_GROUP_H #define GANV_GROUP_H -#include "ganv/item.h" +#include #include #include diff --git a/include/ganv/module.h b/include/ganv/module.h index 969965b..a610b3a 100644 --- a/include/ganv/module.h +++ b/include/ganv/module.h @@ -18,15 +18,14 @@ #ifndef GANV_MODULE_H #define GANV_MODULE_H -#include "ganv/types.h" +#include +#include +#include #include #include #include -#include "ganv/box.h" -#include "ganv/canvas.h" - G_BEGIN_DECLS #define GANV_TYPE_MODULE (ganv_module_get_type()) diff --git a/include/ganv/node.h b/include/ganv/node.h index 03c5982..75db879 100644 --- a/include/ganv/node.h +++ b/include/ganv/node.h @@ -18,8 +18,8 @@ #ifndef GANV_NODE_H #define GANV_NODE_H -#include "ganv/item.h" -#include "ganv/types.h" +#include +#include #include #include diff --git a/include/ganv/port.h b/include/ganv/port.h index 8bf4a80..cb390f2 100644 --- a/include/ganv/port.h +++ b/include/ganv/port.h @@ -18,8 +18,8 @@ #ifndef GANV_PORT_H #define GANV_PORT_H -#include "ganv/box.h" -#include "ganv/types.h" +#include +#include #include #include diff --git a/include/ganv/text.h b/include/ganv/text.h index 2aee253..9ad5227 100644 --- a/include/ganv/text.h +++ b/include/ganv/text.h @@ -16,7 +16,7 @@ #ifndef GANV_TEXT_H #define GANV_TEXT_H -#include "ganv/item.h" +#include #include #include diff --git a/include/ganv/widget.h b/include/ganv/widget.h index af31576..7de05a2 100644 --- a/include/ganv/widget.h +++ b/include/ganv/widget.h @@ -22,7 +22,7 @@ #ifndef GANV_WIDGET_H #define GANV_WIDGET_H -#include "ganv/item.h" +#include #include #include diff --git a/include/ganv/wrap.hpp b/include/ganv/wrap.hpp index 8e0a421..0fdc0dc 100644 --- a/include/ganv/wrap.hpp +++ b/include/ganv/wrap.hpp @@ -18,7 +18,7 @@ #ifndef GANV_WRAP_HPP #define GANV_WRAP_HPP -#include "ganv/item.h" +#include #include // IWYU pragma: keep #include // IWYU pragma: keep diff --git a/src/Canvas.cpp b/src/Canvas.cpp index b4a8391..7a77497 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -26,20 +26,20 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/Canvas.hpp" -#include "ganv/Edge.hpp" -#include "ganv/Item.hpp" -#include "ganv/Node.hpp" -#include "ganv/box.h" -#include "ganv/canvas.h" -#include "ganv/circle.h" -#include "ganv/edge.h" -#include "ganv/group.h" -#include "ganv/item.h" -#include "ganv/module.h" -#include "ganv/node.h" -#include "ganv/port.h" -#include "ganv/types.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -93,7 +93,7 @@ # include #endif #ifdef GANV_FDGL -# include "./fdgl.hpp" +# include "fdgl.hpp" #endif #define CANVAS_IDLE_PRIORITY (GDK_PRIORITY_REDRAW - 5) diff --git a/src/Port.cpp b/src/Port.cpp index c17afe5..e122fa9 100644 --- a/src/Port.cpp +++ b/src/Port.cpp @@ -15,12 +15,12 @@ #include "color.h" -#include "ganv/Box.hpp" -#include "ganv/Module.hpp" -#include "ganv/Port.hpp" -#include "ganv/box.h" -#include "ganv/port.h" -#include "ganv/types.h" +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/boilerplate.h b/src/boilerplate.h index 770b286..a46850e 100644 --- a/src/boilerplate.h +++ b/src/boilerplate.h @@ -16,7 +16,7 @@ #ifndef GANV_BOILERPLATE_H #define GANV_BOILERPLATE_H -#include "ganv/item.h" +#include #include diff --git a/src/box.c b/src/box.c index b6f9a23..a7af40f 100644 --- a/src/box.c +++ b/src/box.c @@ -18,10 +18,10 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/box.h" -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/types.h" +#include +#include +#include +#include #include #include diff --git a/src/circle.c b/src/circle.c index 4ec698b..fdd119b 100644 --- a/src/circle.c +++ b/src/circle.c @@ -18,12 +18,12 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/canvas.h" -#include "ganv/circle.h" -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/text.h" -#include "ganv/types.h" +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/edge.c b/src/edge.c index a74546a..4128287 100644 --- a/src/edge.c +++ b/src/edge.c @@ -18,11 +18,11 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/canvas.h" -#include "ganv/edge.h" -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/types.h" +#include +#include +#include +#include +#include #include #include diff --git a/src/ganv-private.h b/src/ganv-private.h index 3d0b7e0..9818db7 100644 --- a/src/ganv-private.h +++ b/src/ganv-private.h @@ -20,10 +20,10 @@ extern "C" { #endif -#include "ganv/canvas.h" -#include "ganv/item.h" -#include "ganv/text.h" -#include "ganv/types.h" +#include +#include +#include +#include #include #include diff --git a/src/ganv_bench.cpp b/src/ganv_bench.cpp index 1ad00f2..d1fbf2a 100644 --- a/src/ganv_bench.cpp +++ b/src/ganv_bench.cpp @@ -13,11 +13,11 @@ * with Ganv. If not, see . */ -#include "ganv/Canvas.hpp" -#include "ganv/Circle.hpp" -#include "ganv/Edge.hpp" -#include "ganv/Module.hpp" -#include "ganv/Port.hpp" +#include +#include +#include +#include +#include #include #include diff --git a/src/ganv_test.c b/src/ganv_test.c index 737d292..44abef9 100644 --- a/src/ganv_test.c +++ b/src/ganv_test.c @@ -13,8 +13,8 @@ * with Ganv. If not, see . */ -#include "ganv/ganv.h" -#include "ganv/item.h" +#include +#include #include diff --git a/src/group.c b/src/group.c index 5ef39f6..3f4fb4f 100644 --- a/src/group.c +++ b/src/group.c @@ -20,8 +20,8 @@ #include "ganv-private.h" -#include "ganv/group.h" -#include "ganv/item.h" +#include +#include #include #include diff --git a/src/item.c b/src/item.c index fc5aac6..15c2302 100644 --- a/src/item.c +++ b/src/item.c @@ -22,8 +22,8 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/item.h" -#include "ganv/types.h" +#include +#include #include #include diff --git a/src/module.c b/src/module.c index 92ac3fe..efdc2b9 100644 --- a/src/module.c +++ b/src/module.c @@ -15,15 +15,15 @@ #include "ganv-private.h" -#include "ganv/box.h" -#include "ganv/canvas.h" -#include "ganv/item.h" -#include "ganv/module.h" -#include "ganv/node.h" -#include "ganv/port.h" -#include "ganv/text.h" -#include "ganv/types.h" -#include "ganv/widget.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/node.c b/src/node.c index f93222b..d4e02ff 100644 --- a/src/node.c +++ b/src/node.c @@ -19,12 +19,12 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/canvas.h" -#include "ganv/edge.h" -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/text.h" -#include "ganv/types.h" +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/port.c b/src/port.c index 212b787..0b557f4 100644 --- a/src/port.c +++ b/src/port.c @@ -18,15 +18,15 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/box.h" -#include "ganv/canvas.h" -#include "ganv/edge.h" -#include "ganv/item.h" -#include "ganv/module.h" -#include "ganv/node.h" -#include "ganv/port.h" -#include "ganv/text.h" -#include "ganv/types.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/text.c b/src/text.c index d429967..b56f5c3 100644 --- a/src/text.c +++ b/src/text.c @@ -18,11 +18,11 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/canvas.h" -#include "ganv/item.h" -#include "ganv/node.h" -#include "ganv/text.h" -#include "ganv/types.h" +#include +#include +#include +#include +#include #include #include diff --git a/src/widget.c b/src/widget.c index 262aef3..dbfe89f 100644 --- a/src/widget.c +++ b/src/widget.c @@ -20,9 +20,9 @@ #include "ganv-private.h" #include "gettext.h" -#include "ganv/canvas.h" -#include "ganv/item.h" -#include "ganv/widget.h" +#include +#include +#include #include #include -- cgit v1.2.1