Skip to content

Commit

Permalink
Migrate include statements
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Aug 19, 2022
1 parent 4037852 commit b556f32
Show file tree
Hide file tree
Showing 22 changed files with 69 additions and 69 deletions.
4 changes: 2 additions & 2 deletions include/gz/launch/Plugin.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#define GZ_LAUNCH_PLUGIN_HH_

#include <tinyxml2.h>
#include <ignition/plugin/SpecializedPluginPtr.hh>
#include <ignition/launch/Export.hh>
#include <gz/plugin/SpecializedPluginPtr.hh>
#include <gz/launch/Export.hh>

namespace gz
{
Expand Down
8 changes: 4 additions & 4 deletions plugins/gazebo_factory/GazeboFactory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*
*/

#include <ignition/msgs/entity_factory.pb.h>
#include <ignition/msgs/boolean.pb.h>
#include <gz/msgs/entity_factory.pb.h>
#include <gz/msgs/boolean.pb.h>

#include <ignition/common/Util.hh>
#include <ignition/common/Console.hh>
#include <gz/common/Util.hh>
#include <gz/common/Console.hh>
#include "GazeboFactory.hh"

using namespace gz;
Expand Down
6 changes: 3 additions & 3 deletions plugins/gazebo_factory/GazeboFactory.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#define GZ_LAUNCH_GAZEBOFACTORY_HH_

#include <memory>
#include <ignition/plugin/Register.hh>
#include <ignition/transport/Node.hh>
#include "ignition/launch/Plugin.hh"
#include <gz/plugin/Register.hh>
#include <gz/transport/Node.hh>
#include "gz/launch/Plugin.hh"

namespace gz
{
Expand Down
14 changes: 7 additions & 7 deletions plugins/gazebo_gui/GazeboGui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

#include <fstream>

#include <ignition/common/Console.hh>
#include <ignition/common/Filesystem.hh>
#include <ignition/gazebo/config.hh>
#include <ignition/gazebo/gui/GuiRunner.hh>
#include <ignition/gui/MainWindow.hh>
#include "ignition/gazebo/gui/Gui.hh"
#include "ignition/gazebo/gui/TmpIface.hh"
#include <gz/common/Console.hh>
#include <gz/common/Filesystem.hh>
#include <gz/sim/config.hh>
#include <gz/sim/gui/GuiRunner.hh>
#include <gz/gui/MainWindow.hh>
#include "gz/sim/gui/Gui.hh"
#include "gz/sim/gui/TmpIface.hh"

#include "GazeboGui.hh"

Expand Down
6 changes: 3 additions & 3 deletions plugins/gazebo_gui/GazeboGui.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#define GZ_LAUNCH_GAZEBOGUI_HH_

#include <memory>
#include <ignition/gui/Application.hh>
#include <ignition/plugin/Register.hh>
#include <ignition/launch/Plugin.hh>
#include <gz/gui/Application.hh>
#include <gz/plugin/Register.hh>
#include <gz/launch/Plugin.hh>

namespace gz
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/gazebo_server/GazeboServer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
*/

#include <ignition/common/Console.hh>
#include <gz/common/Console.hh>
#include <sdf/sdf.hh>
#include "GazeboServer.hh"

Expand Down
6 changes: 3 additions & 3 deletions plugins/gazebo_server/GazeboServer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#define GZ_LAUNCH_GAZEBOSERVER_HH_

#include <memory>
#include <ignition/plugin/Register.hh>
#include <ignition/gazebo/Server.hh>
#include "ignition/launch/Plugin.hh"
#include <gz/plugin/Register.hh>
#include <gz/sim/Server.hh>
#include "gz/launch/Plugin.hh"

namespace gz
{
Expand Down
8 changes: 4 additions & 4 deletions plugins/joy_to_twist/JoyToTwist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <ignition/common/Console.hh>
#include <ignition/common/Util.hh>
#include <ignition/math/Helpers.hh>
#include <ignition/transport/Node.hh>
#include <gz/common/Console.hh>
#include <gz/common/Util.hh>
#include <gz/math/Helpers.hh>
#include <gz/transport/Node.hh>

#include "JoyToTwist.hh"

Expand Down
10 changes: 5 additions & 5 deletions plugins/joy_to_twist/JoyToTwist.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

#include <string>
#include <thread>
#include <ignition/launch/Plugin.hh>
#include <ignition/math/Vector3.hh>
#include <ignition/msgs.hh>
#include <ignition/plugin/Register.hh>
#include <ignition/transport/Node.hh>
#include <gz/launch/Plugin.hh>
#include <gz/math/Vector3.hh>
#include <gz/msgs.hh>
#include <gz/plugin/Register.hh>
#include <gz/transport/Node.hh>

namespace gz
{
Expand Down
10 changes: 5 additions & 5 deletions plugins/joystick/Joystick.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
#include <linux/joystick.h>
#include <sys/stat.h>
#include <unistd.h>
#include <ignition/common/Console.hh>
#include <ignition/common/Util.hh>
#include <ignition/math/Helpers.hh>
#include <ignition/msgs.hh>
#include <ignition/transport/Node.hh>
#include <gz/common/Console.hh>
#include <gz/common/Util.hh>
#include <gz/math/Helpers.hh>
#include <gz/msgs.hh>
#include <gz/transport/Node.hh>

#include "Joystick.hh"

Expand Down
6 changes: 3 additions & 3 deletions plugins/joystick/Joystick.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#define GZ_LAUNCH_JOYSTICK_HH_

#include <thread>
#include <ignition/launch/Plugin.hh>
#include <ignition/plugin/Register.hh>
#include <ignition/transport/Node.hh>
#include <gz/launch/Plugin.hh>
#include <gz/plugin/Register.hh>
#include <gz/transport/Node.hh>

namespace gz
{
Expand Down
6 changes: 3 additions & 3 deletions plugins/websocket_server/WebsocketServer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
*/

#include <algorithm>
#include <ignition/common/Console.hh>
#include <ignition/common/Util.hh>
#include <ignition/msgs.hh>
#include <gz/common/Console.hh>
#include <gz/common/Util.hh>
#include <gz/msgs.hh>

#include "MessageDefinitions.hh"
#include "WebsocketServer.hh"
Expand Down
10 changes: 5 additions & 5 deletions plugins/websocket_server/WebsocketServer.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
#include <map>
#include <memory>
#include <thread>
#include <ignition/launch/Plugin.hh>
#include <ignition/plugin/Register.hh>
#include <ignition/transport/MessageInfo.hh>
#include <ignition/transport/Node.hh>
#include <ignition/common/Util.hh>
#include <gz/launch/Plugin.hh>
#include <gz/plugin/Register.hh>
#include <gz/transport/MessageInfo.hh>
#include <gz/transport/Node.hh>
#include <gz/common/Util.hh>
#include <libwebsockets.h>

namespace gz
Expand Down
16 changes: 8 additions & 8 deletions src/Manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@
#include <utility>
#include <vector>

#include <ignition/common/Console.hh>
#include <ignition/common/SignalHandler.hh>
#include <ignition/common/SystemPaths.hh>
#include <ignition/math/Rand.hh>
#include <ignition/plugin/Loader.hh>

#include "ignition/launch/config.hh"
#include "ignition/launch/Plugin.hh"
#include <gz/common/Console.hh>
#include <gz/common/SignalHandler.hh>
#include <gz/common/SystemPaths.hh>
#include <gz/math/Rand.hh>
#include <gz/plugin/Loader.hh>

#include "gz/launch/config.hh"
#include "gz/launch/Plugin.hh"

#include "vendor/backward.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/Manager.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <memory>
#include <string>
#include <ignition/launch/Export.hh>
#include <gz/launch/Export.hh>

namespace gz
{
Expand Down
6 changes: 3 additions & 3 deletions src/Manager_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
*/

#include <gtest/gtest.h>
#include <ignition/common/Console.hh>
#include <ignition/common/Filesystem.hh>
#include <gz/common/Console.hh>
#include <gz/common/Filesystem.hh>

#include <ignition/utilities/ExtraTestMacros.hh>
#include <gz/utilities/ExtraTestMacros.hh>

#include <sys/stat.h>

Expand Down
4 changes: 2 additions & 2 deletions src/gz.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
*
*/
#include <cstring>
#include <ignition/common/Console.hh>
#include <gz/common/Console.hh>

#include "ignition/launch/config.hh"
#include "gz/launch/config.hh"
#include "gz.hh"
#include "Manager.hh"

Expand Down
2 changes: 1 addition & 1 deletion src/gz.hh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef GZ_LAUNCH_IGN_HH_
#define GZ_LAUNCH_IGN_HH_

#include "ignition/launch/Export.hh"
#include "gz/launch/Export.hh"

/// \brief External hook to read the library version.
/// \return C-string representing the version. Ex.: 0.1.2
Expand Down
4 changes: 2 additions & 2 deletions src/gz_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

#include <string>

#include <ignition/common/Filesystem.hh>
#include "ignition/launch/test_config.hh" // NOLINT(build/include)
#include <gz/common/Filesystem.hh>
#include "gz/launch/test_config.hh" // NOLINT(build/include)

static const std::string kIgnCommand(
std::string("IGN_CONFIG_PATH=") + IGN_CONFIG_PATH + " " +
Expand Down
2 changes: 1 addition & 1 deletion test/integration/deprecated_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <gtest/gtest.h>
#include <ignition/launch/Plugin.hh>
#include <gz/launch/Plugin.hh>

/////////////////////////////////////////////////
// Make sure the ignition namespace still works
Expand Down
2 changes: 1 addition & 1 deletion test/integration/plugins/bad_plugins.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include "bad_plugins.hh"
#include <ignition/plugin/Register.hh>
#include <gz/plugin/Register.hh>

#include <iostream>

Expand Down
4 changes: 2 additions & 2 deletions test/integration/plugins/bad_plugins.hh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*
*/

#include <ignition/plugin/Register.hh>
#include "ignition/launch/Plugin.hh"
#include <gz/plugin/Register.hh>
#include "gz/launch/Plugin.hh"

class SegfaultOnLoad : public gz::launch::Plugin
{
Expand Down

0 comments on commit b556f32

Please sign in to comment.