Skip to content

Commit

Permalink
Migrate include statements
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Aug 19, 2022
1 parent 3c3fb22 commit b66c7ca
Show file tree
Hide file tree
Showing 181 changed files with 480 additions and 480 deletions.
4 changes: 2 additions & 2 deletions av/include/gz/common/AudioDecoder.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <string>
#include <memory>

#include <ignition/common/av/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <gz/common/av/Export.hh>
#include <gz/common/SuppressWarning.hh>

namespace gz
{
Expand Down
10 changes: 5 additions & 5 deletions av/include/gz/common/HWEncoder.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
#include <string>
#include <optional>

#include <ignition/common/FlagSet.hh>
#include <ignition/common/av/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <ignition/common/HWVideo.hh>
#include <ignition/common/ffmpeg_inc.hh>
#include <gz/common/FlagSet.hh>
#include <gz/common/av/Export.hh>
#include <gz/common/SuppressWarning.hh>
#include <gz/common/HWVideo.hh>
#include <gz/common/ffmpeg_inc.hh>

/// This is an internal-use only class encapsulating HW video encoding. All
/// symbols defined here are hidden from the public API.
Expand Down
2 changes: 1 addition & 1 deletion av/include/gz/common/HWVideo.hh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef IGNITION_COMMON_HWVIDEO_HH
#define IGNITION_COMMON_HWVIDEO_HH

#include <ignition/common/EnumIface.hh>
#include <gz/common/EnumIface.hh>

namespace gz::common
{
Expand Down
4 changes: 2 additions & 2 deletions av/include/gz/common/Video.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include <string>
#include <memory>

#include <ignition/common/av/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <gz/common/av/Export.hh>
#include <gz/common/SuppressWarning.hh>

struct AVFormatContext;
struct AVCodecContext;
Expand Down
8 changes: 4 additions & 4 deletions av/include/gz/common/VideoEncoder.hh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
#include <memory>
#include <optional>

#include <ignition/common/FlagSet.hh>
#include <ignition/common/av/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <ignition/common/HWVideo.hh>
#include <gz/common/FlagSet.hh>
#include <gz/common/av/Export.hh>
#include <gz/common/SuppressWarning.hh>
#include <gz/common/HWVideo.hh>

// Default bitrate (0) indicates that a bitrate should be calculated when
// Start is called.
Expand Down
4 changes: 2 additions & 2 deletions av/include/gz/common/ffmpeg_inc.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <string>

#include <ignition/common/config.hh>
#include <gz/common/config.hh>

#ifndef _WIN32
#pragma GCC system_header
Expand Down Expand Up @@ -49,7 +49,7 @@ extern "C" {
#endif
}

#include <ignition/common/av/Export.hh>
#include <gz/common/av/Export.hh>

namespace gz
{
Expand Down
8 changes: 4 additions & 4 deletions av/src/AudioDecoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
*
*/

#include <ignition/common/av/Util.hh>
#include <ignition/common/ffmpeg_inc.hh>
#include <ignition/common/AudioDecoder.hh>
#include <ignition/common/Console.hh>
#include <gz/common/av/Util.hh>
#include <gz/common/ffmpeg_inc.hh>
#include <gz/common/AudioDecoder.hh>
#include <gz/common/Console.hh>

#define AUDIO_INBUF_SIZE (20480 * 2)
#define AUDIO_REFILL_THRESH 4096
Expand Down
4 changes: 2 additions & 2 deletions av/src/AudioDecoder_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/
#include <gtest/gtest.h>

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

#include "test_config.h"

Expand Down
6 changes: 3 additions & 3 deletions av/src/HWEncoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#include <map>
#include <utility>

#include "ignition/common/ffmpeg_inc.hh"
#include "gz/common/ffmpeg_inc.hh"
#include "gz/common/HWEncoder.hh"
#include "ignition/common/StringUtils.hh"
#include "ignition/common/Console.hh"
#include "gz/common/StringUtils.hh"
#include "gz/common/Console.hh"

using namespace gz;
using namespace common;
Expand Down
6 changes: 3 additions & 3 deletions av/src/Util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

#include <string>

#include <ignition/common/Console.hh>
#include <ignition/common/av/Util.hh>
#include <ignition/common/ffmpeg_inc.hh>
#include <gz/common/Console.hh>
#include <gz/common/av/Util.hh>
#include <gz/common/ffmpeg_inc.hh>

/////////////////////////////////////////////////
// avcodec log callback. We use this to redirect message to gazebo's console
Expand Down
10 changes: 5 additions & 5 deletions av/src/Video.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*
*/
#include "ignition/common/config.hh"
#include "ignition/common/Console.hh"
#include "ignition/common/ffmpeg_inc.hh"
#include "ignition/common/Video.hh"
#include "ignition/common/av/Util.hh"
#include "gz/common/config.hh"
#include "gz/common/Console.hh"
#include "gz/common/ffmpeg_inc.hh"
#include "gz/common/Video.hh"
#include "gz/common/av/Util.hh"

using namespace gz;
using namespace common;
Expand Down
10 changes: 5 additions & 5 deletions av/src/VideoEncoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

#include <mutex>

#include <ignition/common/av/Util.hh>
#include "ignition/common/ffmpeg_inc.hh"
#include "ignition/common/Console.hh"
#include "ignition/common/VideoEncoder.hh"
#include "ignition/common/StringUtils.hh"
#include <gz/common/av/Util.hh>
#include "gz/common/ffmpeg_inc.hh"
#include "gz/common/Console.hh"
#include "gz/common/VideoEncoder.hh"
#include "gz/common/StringUtils.hh"

#ifdef IGN_COMMON_BUILD_HW_VIDEO
#include "gz/common/HWEncoder.hh"
Expand Down
4 changes: 2 additions & 2 deletions av/src/VideoEncoder_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/
#include <gtest/gtest.h>

#include "ignition/common/Console.hh"
#include "ignition/common/VideoEncoder.hh"
#include "gz/common/Console.hh"
#include "gz/common/VideoEncoder.hh"
#include "test_config.h"

using namespace gz;
Expand Down
2 changes: 1 addition & 1 deletion av/src/ffmpeg_inc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
#include "ignition/common/ffmpeg_inc.hh"
#include "gz/common/ffmpeg_inc.hh"

using namespace gz;

Expand Down
6 changes: 3 additions & 3 deletions events/include/gz/common/Event.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
#include <mutex>
#include <utility>

#include <ignition/common/config.hh>
#include <ignition/common/events/Export.hh>
#include <ignition/common/events/Types.hh>
#include <gz/common/config.hh>
#include <gz/common/events/Export.hh>
#include <gz/common/events/Types.hh>

namespace gz
{
Expand Down
4 changes: 2 additions & 2 deletions events/include/gz/common/KeyEvent.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include <memory>
#include <string>

#include <ignition/common/events/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <gz/common/events/Export.hh>
#include <gz/common/SuppressWarning.hh>

namespace gz
{
Expand Down
6 changes: 3 additions & 3 deletions events/include/gz/common/MouseEvent.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#define GZ_COMMON_MOUSEEVENT_HH_

#include <memory>
#include <ignition/math/Vector2.hh>
#include <gz/math/Vector2.hh>

#include <ignition/common/events/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <gz/common/events/Export.hh>
#include <gz/common/SuppressWarning.hh>

namespace gz
{
Expand Down
4 changes: 2 additions & 2 deletions events/src/Event.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*
*/

#include "ignition/common/Console.hh"
#include "ignition/common/Event.hh"
#include "gz/common/Console.hh"
#include "gz/common/Event.hh"

using namespace gz;
using namespace common;
Expand Down
2 changes: 1 addition & 1 deletion events/src/Event_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "test_config.h"

#include <functional>
#include <ignition/common/Event.hh>
#include <gz/common/Event.hh>

using namespace gz;

Expand Down
2 changes: 1 addition & 1 deletion events/src/KeyEvent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
#include "ignition/common/KeyEvent.hh"
#include "gz/common/KeyEvent.hh"

using namespace gz;
using namespace common;
Expand Down
2 changes: 1 addition & 1 deletion events/src/KeyEvent_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <gtest/gtest.h>
#include "ignition/common/KeyEvent.hh"
#include "gz/common/KeyEvent.hh"

using namespace gz;
using namespace common;
Expand Down
4 changes: 2 additions & 2 deletions events/src/MouseEvent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*
*/

#include <ignition/math/Vector2.hh>
#include "ignition/common/MouseEvent.hh"
#include <gz/math/Vector2.hh>
#include "gz/common/MouseEvent.hh"

using namespace gz;
using namespace common;
Expand Down
4 changes: 2 additions & 2 deletions events/src/MouseEvent_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include <gtest/gtest.h>

#include "test_config.h"
#include "ignition/common/MouseEvent.hh"
#include "ignition/common/config.hh"
#include "gz/common/MouseEvent.hh"
#include "gz/common/config.hh"

using namespace gz;

Expand Down
2 changes: 1 addition & 1 deletion examples/assert_example.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <ignition/common.hh>
#include <gz/common.hh>

int main(int argc, char **argv)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/console.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*
*/
#include <ignition/common.hh>
#include <gz/common.hh>

int main(int argc, char **argv)
{
Expand Down
2 changes: 1 addition & 1 deletion examples/events.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <functional>
#include <iostream>
#include <ignition/common/Event.hh>
#include <gz/common/Event.hh>

using namespace gz;

Expand Down
8 changes: 4 additions & 4 deletions examples/profiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
#include <atomic>
#include <thread>

#include "ignition/common/Console.hh"
#include "ignition/common/Profiler.hh"
#include "ignition/common/SignalHandler.hh"
#include "ignition/common/Time.hh"
#include "gz/common/Console.hh"
#include "gz/common/Profiler.hh"
#include "gz/common/SignalHandler.hh"
#include "gz/common/Time.hh"

std::atomic<bool> running;

Expand Down
8 changes: 4 additions & 4 deletions graphics/include/gz/common/Animation.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
#include <string>
#include <vector>

#include <ignition/math/Pose3.hh>
#include <ignition/math/Spline.hh>
#include <ignition/math/RotationSpline.hh>
#include <gz/math/Pose3.hh>
#include <gz/math/Spline.hh>
#include <gz/math/RotationSpline.hh>

#include <ignition/common/graphics/Export.hh>
#include <gz/common/graphics/Export.hh>

namespace gz
{
Expand Down
4 changes: 2 additions & 2 deletions graphics/include/gz/common/BVHLoader.hh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include <memory>
#include <string>

#include <ignition/math/Pose3.hh>
#include <ignition/common/graphics/Export.hh>
#include <gz/math/Pose3.hh>
#include <gz/common/graphics/Export.hh>

namespace gz
{
Expand Down
8 changes: 4 additions & 4 deletions graphics/include/gz/common/ColladaExporter.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
#include <string>
#include <vector>

#include <ignition/common/MeshExporter.hh>
#include <ignition/common/graphics/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <gz/common/MeshExporter.hh>
#include <gz/common/graphics/Export.hh>
#include <gz/common/SuppressWarning.hh>

#include <ignition/math/Matrix4.hh>
#include <gz/math/Matrix4.hh>

namespace gz
{
Expand Down
4 changes: 2 additions & 2 deletions graphics/include/gz/common/ColladaLoader.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#define GZ_COMMON_COLLADALOADER_HH_

#include <string>
#include <ignition/common/graphics/Export.hh>
#include <ignition/common/MeshLoader.hh>
#include <gz/common/graphics/Export.hh>
#include <gz/common/MeshLoader.hh>

namespace gz
{
Expand Down
8 changes: 4 additions & 4 deletions graphics/include/gz/common/Dem.hh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
#define GZ_COMMON_DEM_HH_

#include <memory>
#include <ignition/math/Vector3.hh>
#include <ignition/math/Angle.hh>
#include <gz/math/Vector3.hh>
#include <gz/math/Angle.hh>

#include <ignition/common/graphics/Export.hh>
#include <ignition/common/SuppressWarning.hh>
#include <gz/common/graphics/Export.hh>
#include <gz/common/SuppressWarning.hh>

#ifdef HAVE_GDAL
# include <string>
Expand Down
Loading

0 comments on commit b66c7ca

Please sign in to comment.