Skip to content

Commit

Permalink
Add redirection headers
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Aug 12, 2022
1 parent 3eed59c commit 42b0744
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 0 deletions.
19 changes: 19 additions & 0 deletions core/include/gz/plugin.hh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

#include <ignition/plugin.hh>
#include <ignition/plugin/config.hh>
19 changes: 19 additions & 0 deletions core/include/gz/plugin/Export.hh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

#include <ignition/plugin/Export.hh>
#include <ignition/plugin/config.hh>
45 changes: 45 additions & 0 deletions core/include/gz/plugin/config.hh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

#ifndef GZ_PLUGIN__CONFIG_HH_
#define GZ_PLUGIN__CONFIG_HH_

#include <ignition/plugin/config.hh>

/* Version number */
#define GZ_PLUGIN_MAJOR_VERSION IGNITION_PLUGIN_MAJOR_VERSION
#define GZ_PLUGIN_MINOR_VERSION IGNITION_PLUGIN_MINOR_VERSION
#define GZ_PLUGIN_PATCH_VERSION IGNITION_PLUGIN_PATCH_VERSION

#define GZ_PLUGIN_VERSION IGNITION_PLUGIN_VERSION
#define GZ_PLUGIN_VERSION_FULL IGNITION_PLUGIN_VERSION_FULL

#define GZ_PLUGIN_VERSION_HEADER IGNITION_PLUGIN_VERSION_HEADER

#endif

namespace ignition
{
}

namespace gz
{
using namespace ignition;
}


#endif
19 changes: 19 additions & 0 deletions loader/include/gz/plugin/loader/Export.hh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

#include <ignition/plugin/loader/Export.hh>
#include <ignition/plugin/config.hh>

0 comments on commit 42b0744

Please sign in to comment.