Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-11-2015, 06:54   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Plugin API and documentation

I would like to add a list to the development manual of procedures, functions, and opencpn conditions that the API now permits. The purpose would be to provide a guide for plugin programming for what is available from the main program.

Can someone suggest a file or files that I should look at to learn more and perhaps start such a document ?

Thanks
__________________
rgleason is offline   Reply With Quote
Old 06-11-2015, 01:28   #2
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: Plugin API and documentation

Rick,
The only real place to start is with ocpn_plugin.h found in the include directory of OCPN, which defines everything that can be used by plugins. It does not help with how, when or why, but it is at least a start.

Under linux you can 'break' the rules of what you can and cannot use from the mainline, but windows keeps you honest as all items have to be in the 'lib' file to be accessible, and these are defined within the ocpn_plugin.h as 'extern DECL_EXP'.

Jon
__________________
jongough is offline   Reply With Quote
Old 06-11-2015, 11:09   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,421
Re: Plugin API and documentation

Very good. I will start with that file.
__________________
rgleason is offline   Reply With Quote
Reply

Tags
documentation, men, plug

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Map API - WMS Support? moyd OpenCPN 15 17-01-2017 08:16
Google Earth API GONE! phiggins Navigation 20 03-07-2015 06:18
Waterlevel API plugin stedy OpenCPN 3 16-06-2015 07:03
Technical: API to query heading(s)? bushtor OpenCPN 4 03-06-2013 08:38
Plugin api coding rooiedirk OpenCPN 6 03-04-2013 09:49



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:24.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.