Open rgleason opened 11 months ago
5.10 is here, should we be doing these?
Upgrading testplugin to 118 in version 1.0.308.0. This will require two changes in the CMakeLists.txt file
set(OCPN_API_VERSION_MINOR "17")
to set(OCPN_API_VERSION_MINOR "18")
add_subdirectory(opencpn-libs/api-17)
to add_subdirectory(opencpn-libs/api-18)
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.
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"
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.
Thanks, found it here in your commits . I am rusty! https://github.com/jongough/testplugin_pi/pull/403/commits/0f0db24b73afb5448d5d695e3bd2c38c1c6c8fc8
Submodule OpenCPN/opencpn-libs For commands see the Instructions at the bottom.
DONE
366 Yes Done
355 Yes. Done
364 Done.
365 Some discussion about packaging for plugins.
368 ? Yes. v5.10 Done
NO NEED TO DO YET