Skip to content

Commit

Permalink
Leave ignition as primary in headers to fix ABI
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Sep 5, 2022
1 parent f46f625 commit d97d94a
Show file tree
Hide file tree
Showing 109 changed files with 147 additions and 148 deletions.
2 changes: 1 addition & 1 deletion example/bench.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <thread>
#include <mutex>
#include <vector>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

DEFINE_bool(h, false, "Show help");
Expand Down
2 changes: 1 addition & 1 deletion example/publisher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <iostream>
#include <string>
#include <thread>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

/// \brief Flag used to break the publisher loop and terminate the program.
Expand Down
2 changes: 1 addition & 1 deletion example/publisher_raw.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <iostream>
#include <string>
#include <thread>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

/// \brief Flag used to break the publisher loop and terminate the program.
Expand Down
2 changes: 1 addition & 1 deletion example/requester.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/requester_async.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/requester_async_no_input.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/requester_no_input.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/requester_oneway.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

#include <iostream>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/responser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <iostream>
#include <string>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/responser_no_input.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <iostream>
#include <string>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/responser_oneway.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <iostream>
#include <string>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/subscriber.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <iostream>
#include <string>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/subscriber_raw.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <iostream>
#include <string>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>

//////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion example/subscriber_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <iostream>
#include <string>
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#include <gz/transport.hh>


Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/AdvertiseOptions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/Clock.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/Discovery.hh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
#include "gz/transport/TopicStorage.hh"
#include "gz/transport/TransportTypes.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/HandlerStorage.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/TransportTypes.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/Helpers.hh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#endif
#endif

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/MessageInfo.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/NetUtils.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
4 changes: 2 additions & 2 deletions include/gz/transport/Node.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#ifdef _MSC_VER
#pragma warning(push, 0)
#endif
#include <gz/msgs.hh>
#include <ignition/msgs.hh>
#ifdef _MSC_VER
#pragma warning(pop)
#endif
Expand All @@ -49,7 +49,7 @@
#include "gz/transport/TopicUtils.hh"
#include "gz/transport/TransportTypes.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/NodeOptions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/NodeShared.hh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include "gz/transport/TransportTypes.hh"
#include "gz/transport/Uuid.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/Packet.hh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// This whole file is deprecated in version 8 of Ignition Transport. Please
// remove this file in Version 9.

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/Publisher.hh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/RepHandler.hh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "gz/transport/TransportTypes.hh"
#include "gz/transport/Uuid.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/ReqHandler.hh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "gz/transport/TransportTypes.hh"
#include "gz/transport/Uuid.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/SubscribeOptions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/SubscriptionHandler.hh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#include "gz/transport/TransportTypes.hh"
#include "gz/transport/Uuid.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/TopicStatistics.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/TopicStorage.hh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "gz/transport/Publisher.hh"
#include "gz/transport/TransportTypes.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/TopicUtils.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Export.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/TransportTypes.hh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "gz/transport/config.hh"
#include "gz/transport/Publisher.hh"

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion include/gz/transport/Uuid.hh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
using portable_uuid_t = uuid_t;
#endif

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
9 changes: 9 additions & 0 deletions include/gz/transport/config.hh.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@
#cmakedefine HAVE_IFADDRS 1
#cmakedefine UBUNTU_FOCAL 1

namespace ignition
{
}

namespace gz
{
using namespace ignition;
}

#endif
2 changes: 1 addition & 1 deletion include/gz/transport/detail/Node.hh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <memory>
#include <string>

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
10 changes: 0 additions & 10 deletions include/ignition/transport/config.hh
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,4 @@
// #define HAVE_IFADDRS 1
/* #undef UBUNTU_FOCAL */

namespace gz
{
}

namespace ignition
{
using namespace gz;
}


#endif
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Batch.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <gz/transport/log/Export.hh>
#include <gz/transport/log/MsgIter.hh>

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Descriptor.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <gz/transport/config.hh>
#include <gz/transport/log/Export.hh>

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Log.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <gz/transport/log/Descriptor.hh>
#include <gz/transport/log/Export.hh>

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
2 changes: 1 addition & 1 deletion log/include/gz/transport/log/Message.hh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <gz/transport/config.hh>
#include <gz/transport/log/Export.hh>

namespace gz
namespace ignition
{
namespace transport
{
Expand Down
Loading

0 comments on commit d97d94a

Please sign in to comment.