jongough / testplugin_pi

Pluing to test JSON and ODAPI
GNU General Public License v3.0
3 stars 9 forks source link

CI Questions #372

Open rgleason opened 11 months ago

rgleason commented 11 months ago

Submodule OpenCPN/opencpn-libs For commands see the Instructions at the bottom.

DONE

NO NEED TO DO YET

rgleason commented 1 month ago

5.10 is here, should we be doing these?

jongough commented 1 month ago

Upgrading testplugin to 118 in version 1.0.308.0. This will require two changes in the CMakeLists.txt file

Then the main cpp file will need to be based on 118 change

testplugin_pi::testplugin_pi(void *ppimgr)
:opencpn_plugin_117(ppimgr)

to

testplugin_pi::testplugin_pi(void *ppimgr)
:opencpn_plugin_118(ppimgr)

and in the header file change class testplugin_pi : public opencpn_plugin_117 to `class testplugin_pi : public opencpn_plugin_118'

These should reflect the plugin name not testplugin.

rgleason commented 1 month ago

That is a great help, Thank you Jon. I missed a couple of things (got the first and third changes). What/where is the "header" file with the "class"

jongough commented 1 month ago

The plugin header, in FE2's case - testplugin_pi.h, so just look in the requisite header file for the plugin where it defines the plugin class.

rgleason commented 1 month ago

Thanks, found it here in your commits . I am rusty! https://github.com/jongough/testplugin_pi/pull/403/commits/0f0db24b73afb5448d5d695e3bd2c38c1c6c8fc8