30#include <wx/aui/framemanager.h>
32#include <wx/fileconf.h>
38#include "ocpn_plugin.h"
39#include "base_platform.h"
43typedef unsigned short OCushort;
47typedef void (* _GLUfuncptr)();
48DECL_EXP GLUtesselator* gluNewTess(
void) {
return 0; }
49DECL_EXP
void gluTessProperty(GLUtesselator* tess,
unsigned which,
double data) {}
50DECL_EXP
void gluTessEndPolygon(GLUtesselator* tess) {}
51DECL_EXP
void gluTessBeginPolygon(GLUtesselator* tess,
void* data) {}
52DECL_EXP
void gluTessNormal(GLUtesselator* tess,
double X,
double Y,
double Z) {}
53DECL_EXP
void gluTessVertex(GLUtesselator* tess,
double *location,
void* data) {}
54DECL_EXP
void gluTessCallback(GLUtesselator* tess,
unsigned which, _GLUfuncptr CallBackFunc) {}
55DECL_EXP
const unsigned char* gluErrorString(
unsigned error) {
return reinterpret_cast<const unsigned char*
>(
""); }
56DECL_EXP
void gluDeleteTess(GLUtesselator* tess) {}
57DECL_EXP
void gluTessBeginContour(GLUtesselator* tess) {}
58DECL_EXP
void gluTessEndContour(GLUtesselator* tess) {}
59DECL_EXP
void glLineWidth(
float width) {}
61DECL_EXP
void glClearIndex(
float c ) {}
63DECL_EXP
void glClearColor(
unsigned red,
unsigned green,
unsigned blue,
unsigned alpha ) {}
65DECL_EXP
void glClear(
int mask ) {}
67DECL_EXP
void glIndexMask(
int mask ) {}
69DECL_EXP
void glColorMask(
bool red,
bool green,
bool blue,
bool alpha ) {}
71DECL_EXP
void glAlphaFunc(
unsigned func,
unsigned ref ) {}
73DECL_EXP
void glBlendFunc(
unsigned sfactor,
unsigned dfactor ) {}
75DECL_EXP
void glLogicOp(
unsigned opcode ) {}
77DECL_EXP
void glCullFace(
unsigned mode ) {}
79DECL_EXP
void glFrontFace(
unsigned mode ) {}
81DECL_EXP
void glPointSize(
float size ) {}
83DECL_EXP
void glLineStipple(
int factor, OCushort pattern ) {}
85DECL_EXP
void glPolygonMode(
unsigned face,
unsigned mode ) {}
87DECL_EXP
void glPolygonOffset(
float factor,
float units ) {}
89DECL_EXP
void glPolygonStipple(
const unsigned char *mask ) {}
91DECL_EXP
void glGetPolygonStipple(
unsigned char *mask ) {}
93DECL_EXP
void glEdgeFlag(
bool flag ) {}
95DECL_EXP
void glEdgeFlagv(
const bool *flag ) {}
97DECL_EXP
void glScissor(
int x,
int y,
size_t width,
size_t height) {}
99DECL_EXP
void glClipPlane(
unsigned plane,
const double *equation ) {}
101DECL_EXP
void glGetClipPlane(
unsigned plane,
double *equation ) {}
103DECL_EXP
void glDrawBuffer(
unsigned mode ) {}
105DECL_EXP
void glReadBuffer(
unsigned mode ) {}
107DECL_EXP
void glEnable(
unsigned cap ) {}
109DECL_EXP
void glDisable(
unsigned cap ) {}
111DECL_EXP
bool glIsEnabled(
unsigned cap ) {
return true; }
114DECL_EXP
void glEnableClientState(
unsigned cap ) {}
116DECL_EXP
void glDisableClientState(
unsigned cap ) {}
119DECL_EXP
void glGetBooleanv(
unsigned pname,
bool *params ) {}
121DECL_EXP
void glGetDoublev(
unsigned pname,
double *params ) {}
123DECL_EXP
void glGetFloatv(
unsigned pname,
float *params ) {}
125DECL_EXP
void glGetIntegerv(
unsigned pname,
int *params ) {}
128DECL_EXP
void glPushAttrib(
int mask ) {}
130DECL_EXP
void glPopAttrib(
void ) {}
133DECL_EXP
void glPushClientAttrib(
int mask ) {}
135DECL_EXP
void glPopClientAttrib(
void ) {}
138DECL_EXP
int glRenderMode(
unsigned mode ) {
return 0; }
140DECL_EXP
unsigned glGetError(
void ) {
return 0; }
142DECL_EXP
const unsigned char * glGetString(
unsigned name ) {
return reinterpret_cast<const unsigned char*
>(
""); }
144DECL_EXP
void glFinish(
void ) {}
146DECL_EXP
void glFlush(
void ) {}
148DECL_EXP
void glHint(
unsigned target,
unsigned mode ) {}
155DECL_EXP
void glClearDepth(
unsigned depth ) {}
157DECL_EXP
void glDepthFunc(
unsigned func ) {}
159DECL_EXP
void glDepthMask(
bool flag ) {}
161DECL_EXP
void glDepthRange(
unsigned near_val,
unsigned far_val ) {}
168DECL_EXP
void glClearAccum(
float red,
float green,
float blue,
float alpha ) {}
170DECL_EXP
void glAccum(
unsigned op,
float value ) {}
177DECL_EXP
void glMatrixMode(
unsigned mode ) {}
179DECL_EXP
void glOrtho(
double left,
double right,
180 double bottom,
double top,
181 double near_val,
double far_val ) {}
183DECL_EXP
void glFrustum(
double left,
double right,
184 double bottom,
double top,
185 double near_val,
double far_val ) {}
187DECL_EXP
void glViewport(
int x,
int y,
188 size_t width,
size_t height ) {}
190DECL_EXP
void glPushMatrix(
void ) {}
192DECL_EXP
void glPopMatrix(
void ) {}
194DECL_EXP
void glLoadIdentity(
void ) {}
196DECL_EXP
void glLoadMatrixd(
const double *m ) {}
197DECL_EXP
void glLoadMatrixf(
const float *m ) {}
199DECL_EXP
void glMultMatrixd(
const double *m ) {}
200DECL_EXP
void glMultMatrixf(
const float *m ) {}
202DECL_EXP
void glRotated(
double angle,
203 double x,
double y,
double z ) {}
204DECL_EXP
void glRotatef(
float angle,
205 float x,
float y,
float z ) {}
207DECL_EXP
void glScaled(
double x,
double y,
double z ) {}
208DECL_EXP
void glScalef(
float x,
float y,
float z ) {}
210DECL_EXP
void glTranslated(
double x,
double y,
double z ) {}
211DECL_EXP
void glTranslatef(
float x,
float y,
float z ) {}
218DECL_EXP
bool glIsList(
int list ) {
return true; }
220DECL_EXP
void glDeleteLists(
int list,
size_t range ) {}
222DECL_EXP
int glGenLists(
size_t range ) {
return 0; }
224DECL_EXP
void glNewList(
int list,
unsigned mode ) {}
226DECL_EXP
void glEndList(
void ) {}
228DECL_EXP
void glCallList(
int list ) {}
230DECL_EXP
void glCallLists(
size_t n,
unsigned type,
231 const void *lists ) {}
233DECL_EXP
void glListBase(
int base ) {}
240DECL_EXP
void glBegin(
unsigned mode ) {}
242DECL_EXP
void glEnd(
void ) {}
245DECL_EXP
void glVertex2d(
double x,
double y ) {}
246DECL_EXP
void glVertex2f(
float x,
float y ) {}
247DECL_EXP
void glVertex2i(
int x,
int y ) {}
248DECL_EXP
void glVertex2s(
short x,
short y ) {}
250DECL_EXP
void glVertex3d(
double x,
double y,
double z ) {}
251DECL_EXP
void glVertex3f(
float x,
float y,
float z ) {}
252DECL_EXP
void glVertex3i(
int x,
int y,
int z ) {}
253DECL_EXP
void glVertex3s(
short x,
short y,
short z ) {}
255DECL_EXP
void glVertex4d(
double x,
double y,
double z,
double w ) {}
256DECL_EXP
void glVertex4f(
float x,
float y,
float z,
float w ) {}
257DECL_EXP
void glVertex4i(
int x,
int y,
int z,
int w ) {}
258DECL_EXP
void glVertex4s(
short x,
short y,
short z,
short w ) {}
260DECL_EXP
void glVertex2dv(
const double *v ) {}
261DECL_EXP
void glVertex2fv(
const float *v ) {}
262DECL_EXP
void glVertex2iv(
const int *v ) {}
263DECL_EXP
void glVertex2sv(
const short *v ) {}
265DECL_EXP
void glVertex3dv(
const double *v ) {}
266DECL_EXP
void glVertex3fv(
const float *v ) {}
267DECL_EXP
void glVertex3iv(
const int *v ) {}
268DECL_EXP
void glVertex3sv(
const short *v ) {}
270DECL_EXP
void glVertex4dv(
const double *v ) {}
271DECL_EXP
void glVertex4fv(
const float *v ) {}
272DECL_EXP
void glVertex4iv(
const int *v ) {}
273DECL_EXP
void glVertex4sv(
const short *v ) {}
276DECL_EXP
void glNormal3b(
unsigned char nx,
unsigned char ny,
unsigned char nz ) {}
277DECL_EXP
void glNormal3d(
double nx,
double ny,
double nz ) {}
278DECL_EXP
void glNormal3f(
float nx,
float ny,
float nz ) {}
279DECL_EXP
void glNormal3i(
int nx,
int ny,
int nz ) {}
280DECL_EXP
void glNormal3s(
short nx,
short ny,
short nz ) {}
282DECL_EXP
void glNormal3bv(
const unsigned char *v ) {}
283DECL_EXP
void glNormal3dv(
const double *v ) {}
284DECL_EXP
void glNormal3fv(
const float *v ) {}
285DECL_EXP
void glNormal3iv(
const int *v ) {}
286DECL_EXP
void glNormal3sv(
const short *v ) {}
289DECL_EXP
void glIndexd(
double c ) {}
290DECL_EXP
void glIndexf(
float c ) {}
291DECL_EXP
void glIndexi(
int c ) {}
292DECL_EXP
void glIndexs(
short c ) {}
293DECL_EXP
void glIndexub(
unsigned char c ) {}
295DECL_EXP
void glIndexdv(
const double *c ) {}
296DECL_EXP
void glIndexfv(
const float *c ) {}
297DECL_EXP
void glIndexiv(
const int *c ) {}
298DECL_EXP
void glIndexsv(
const short *c ) {}
299DECL_EXP
void glIndexubv(
const unsigned char *c ) {}
301DECL_EXP
void glColor3b(
unsigned char red,
unsigned char green,
unsigned char blue ) {}
302DECL_EXP
void glColor3d(
double red,
double green,
double blue ) {}
303DECL_EXP
void glColor3f(
float red,
float green,
float blue ) {}
304DECL_EXP
void glColor3i(
int red,
int green,
int blue ) {}
305DECL_EXP
void glColor3s(
short red,
short green,
short blue ) {}
306DECL_EXP
void glColor3ub(
unsigned char red,
unsigned char green,
unsigned char blue ) {}
307DECL_EXP
void glColor3ui(
int red,
int green,
int blue ) {}
308DECL_EXP
void glColor3us( OCushort red, OCushort green, OCushort blue ) {}
310DECL_EXP
void glColor4b(
unsigned char red,
unsigned char green,
311 unsigned char blue,
unsigned char alpha ) {}
312DECL_EXP
void glColor4d(
double red,
double green,
313 double blue,
double alpha ) {}
314DECL_EXP
void glColor4f(
float red,
float green,
315 float blue,
float alpha ) {}
316DECL_EXP
void glColor4i(
int red,
int green,
317 int blue,
int alpha ) {}
318DECL_EXP
void glColor4s(
short red,
short green,
319 short blue,
short alpha ) {}
320DECL_EXP
void glColor4ub(
unsigned char red,
unsigned char green,
321 unsigned char blue,
unsigned char alpha ) {}
322DECL_EXP
void glColor4ui(
int red,
int green,
323 int blue,
int alpha ) {}
324DECL_EXP
void glColor4us( OCushort red, OCushort green,
325 OCushort blue, OCushort alpha ) {}
328DECL_EXP
void glColor3bv(
const unsigned char *v ) {}
329DECL_EXP
void glColor3dv(
const double *v ) {}
330DECL_EXP
void glColor3fv(
const float *v ) {}
331DECL_EXP
void glColor3iv(
const int *v ) {}
332DECL_EXP
void glColor3sv(
const short *v ) {}
333DECL_EXP
void glColor3ubv(
const unsigned char *v ) {}
334DECL_EXP
void glColor3uiv(
const int *v ) {}
335DECL_EXP
void glColor3usv(
const OCushort *v ) {}
337DECL_EXP
void glColor4bv(
const unsigned char *v ) {}
338DECL_EXP
void glColor4dv(
const double *v ) {}
339DECL_EXP
void glColor4fv(
const float *v ) {}
340DECL_EXP
void glColor4iv(
const int *v ) {}
341DECL_EXP
void glColor4sv(
const short *v ) {}
342DECL_EXP
void glColor4ubv(
const unsigned char *v ) {}
343DECL_EXP
void glColor4uiv(
const int *v ) {}
344DECL_EXP
void glColor4usv(
const OCushort *v ) {}
347DECL_EXP
void glTexCoord1d(
double s ) {}
348DECL_EXP
void glTexCoord1f(
float s ) {}
349DECL_EXP
void glTexCoord1i(
int s ) {}
350DECL_EXP
void glTexCoord1s(
short s ) {}
352DECL_EXP
void glTexCoord2d(
double s,
double t ) {}
353DECL_EXP
void glTexCoord2f(
float s,
float t ) {}
354DECL_EXP
void glTexCoord2i(
int s,
int t ) {}
355DECL_EXP
void glTexCoord2s(
short s,
short t ) {}
357DECL_EXP
void glTexCoord3d(
double s,
double t,
double r ) {}
358DECL_EXP
void glTexCoord3f(
float s,
float t,
float r ) {}
359DECL_EXP
void glTexCoord3i(
int s,
int t,
int r ) {}
360DECL_EXP
void glTexCoord3s(
short s,
short t,
short r ) {}
362DECL_EXP
void glTexCoord4d(
double s,
double t,
double r,
double q ) {}
363DECL_EXP
void glTexCoord4f(
float s,
float t,
float r,
float q ) {}
364DECL_EXP
void glTexCoord4i(
int s,
int t,
int r,
int q ) {}
365DECL_EXP
void glTexCoord4s(
short s,
short t,
short r,
short q ) {}
367DECL_EXP
void glTexCoord1dv(
const double *v ) {}
368DECL_EXP
void glTexCoord1fv(
const float *v ) {}
369DECL_EXP
void glTexCoord1iv(
const int *v ) {}
370DECL_EXP
void glTexCoord1sv(
const short *v ) {}
372DECL_EXP
void glTexCoord2dv(
const double *v ) {}
373DECL_EXP
void glTexCoord2fv(
const float *v ) {}
374DECL_EXP
void glTexCoord2iv(
const int *v ) {}
375DECL_EXP
void glTexCoord2sv(
const short *v ) {}
377DECL_EXP
void glTexCoord3dv(
const double *v ) {}
378DECL_EXP
void glTexCoord3fv(
const float *v ) {}
379DECL_EXP
void glTexCoord3iv(
const int *v ) {}
380DECL_EXP
void glTexCoord3sv(
const short *v ) {}
382DECL_EXP
void glTexCoord4dv(
const double *v ) {}
383DECL_EXP
void glTexCoord4fv(
const float *v ) {}
384DECL_EXP
void glTexCoord4iv(
const int *v ) {}
385DECL_EXP
void glTexCoord4sv(
const short *v ) {}
388DECL_EXP
void glRasterPos2d(
double x,
double y ) {}
389DECL_EXP
void glRasterPos2f(
float x,
float y ) {}
390DECL_EXP
void glRasterPos2i(
int x,
int y ) {}
391DECL_EXP
void glRasterPos2s(
short x,
short y ) {}
393DECL_EXP
void glRasterPos3d(
double x,
double y,
double z ) {}
394DECL_EXP
void glRasterPos3f(
float x,
float y,
float z ) {}
395DECL_EXP
void glRasterPos3i(
int x,
int y,
int z ) {}
396DECL_EXP
void glRasterPos3s(
short x,
short y,
short z ) {}
398DECL_EXP
void glRasterPos4d(
double x,
double y,
double z,
double w ) {}
399DECL_EXP
void glRasterPos4f(
float x,
float y,
float z,
float w ) {}
400DECL_EXP
void glRasterPos4i(
int x,
int y,
int z,
int w ) {}
401DECL_EXP
void glRasterPos4s(
short x,
short y,
short z,
short w ) {}
403DECL_EXP
void glRasterPos2dv(
const double *v ) {}
404DECL_EXP
void glRasterPos2fv(
const float *v ) {}
405DECL_EXP
void glRasterPos2iv(
const int *v ) {}
406DECL_EXP
void glRasterPos2sv(
const short *v ) {}
408DECL_EXP
void glRasterPos3dv(
const double *v ) {}
409DECL_EXP
void glRasterPos3fv(
const float *v ) {}
410DECL_EXP
void glRasterPos3iv(
const int *v ) {}
411DECL_EXP
void glRasterPos3sv(
const short *v ) {}
413DECL_EXP
void glRasterPos4dv(
const double *v ) {}
414DECL_EXP
void glRasterPos4fv(
const float *v ) {}
415DECL_EXP
void glRasterPos4iv(
const int *v ) {}
416DECL_EXP
void glRasterPos4sv(
const short *v ) {}
419DECL_EXP
void glRectd(
double x1,
double y1,
double x2,
double y2 ) {}
420DECL_EXP
void glRectf(
float x1,
float y1,
float x2,
float y2 ) {}
421DECL_EXP
void glRecti(
int x1,
int y1,
int x2,
int y2 ) {}
422DECL_EXP
void glRects(
short x1,
short y1,
short x2,
short y2 ) {}
425DECL_EXP
void glRectdv(
const double *v1,
const double *v2 ) {}
426DECL_EXP
void glRectfv(
const float *v1,
const float *v2 ) {}
427DECL_EXP
void glRectiv(
const int *v1,
const int *v2 ) {}
428DECL_EXP
void glRectsv(
const short *v1,
const short *v2 ) {}
431DECL_EXP
void glVertexPointer(
int size,
unsigned type,
432 size_t stride,
const void *ptr ){}
434DECL_EXP
void glNormalPointer(
unsigned type,
size_t stride,
437DECL_EXP
void glColorPointer(
int size,
unsigned type,
438 size_t stride,
const void *ptr ){}
440DECL_EXP
void glIndexPointer(
unsigned type,
size_t stride,
443DECL_EXP
void glTexCoordPointer(
int size,
unsigned type,
444 size_t stride,
const void *ptr ){}
446DECL_EXP
void glEdgeFlagPointer(
size_t stride,
const void *ptr ){}
448DECL_EXP
void glGetPointerv(
unsigned pname,
void **params ){}
450DECL_EXP
void glArrayElement(
int i ){}
452DECL_EXP
void glDrawArrays(
unsigned mode,
int first,
size_t count ){}
454DECL_EXP
void glDrawElements(
unsigned mode,
size_t count,
455 unsigned type,
const void *indices ){}
457DECL_EXP
void glInterleavedArrays(
unsigned format,
size_t stride,
458 const void *pointer ){}
464DECL_EXP
void glShadeModel(
unsigned mode ){}
466DECL_EXP
void glLightf(
unsigned light,
unsigned pname,
float param ){}
467DECL_EXP
void glLighti(
unsigned light,
unsigned pname,
int param ){}
468DECL_EXP
void glLightfv(
unsigned light,
unsigned pname,
469 const float *params ){}
470DECL_EXP
void glLightiv(
unsigned light,
unsigned pname,
471 const int *params ){}
473DECL_EXP
void glGetLightfv(
unsigned light,
unsigned pname,
475DECL_EXP
void glGetLightiv(
unsigned light,
unsigned pname,
478DECL_EXP
void glLightModelf(
unsigned pname,
float param ){}
479DECL_EXP
void glLightModeli(
unsigned pname,
int param ){}
480DECL_EXP
void glLightModelfv(
unsigned pname,
const float *params ){}
481DECL_EXP
void glLightModeliv(
unsigned pname,
const int *params ){}
483DECL_EXP
void glMaterialf(
unsigned face,
unsigned pname,
float param ){}
484DECL_EXP
void glMateriali(
unsigned face,
unsigned pname,
int param ){}
485DECL_EXP
void glMaterialfv(
unsigned face,
unsigned pname,
const float *params ){}
486DECL_EXP
void glMaterialiv(
unsigned face,
unsigned pname,
const int *params ){}
488DECL_EXP
void glGetMaterialfv(
unsigned face,
unsigned pname,
float *params ){}
489DECL_EXP
void glGetMaterialiv(
unsigned face,
unsigned pname,
int *params ){}
491DECL_EXP
void glColorMaterial(
unsigned face,
unsigned mode ){}
498DECL_EXP
void glPixelZoom(
float xfactor,
float yfactor ){}
500DECL_EXP
void glPixelStoref(
unsigned pname,
float param ){}
501DECL_EXP
void glPixelStorei(
unsigned pname,
int param ){}
503DECL_EXP
void glPixelTransferf(
unsigned pname,
float param ){}
504DECL_EXP
void glPixelTransferi(
unsigned pname,
int param ){}
506DECL_EXP
void glPixelMapfv(
unsigned map,
size_t mapsize,
507 const float *values ){}
508DECL_EXP
void glPixelMapuiv(
unsigned map,
size_t mapsize,
509 const unsigned *values ){}
510DECL_EXP
void glPixelMapusv(
unsigned map,
size_t mapsize,
511 const OCushort *values ){}
513DECL_EXP
void glGetPixelMapfv(
unsigned map,
float *values ){}
514DECL_EXP
void glGetPixelMapuiv(
unsigned map,
unsigned *values ){}
515DECL_EXP
void glGetPixelMapusv(
unsigned map, OCushort *values ){}
517DECL_EXP
void glBitmap(
size_t width,
size_t height,
518 float xorig,
float yorig,
519 float xmove,
float ymove,
520 const unsigned char *bitmap ){}
522DECL_EXP
void glReadPixels(
int x,
int y,
523 size_t width,
size_t height,
524 unsigned format,
unsigned type,
527DECL_EXP
void glDrawPixels(
size_t width,
size_t height,
528 unsigned format,
unsigned type,
529 const void *pixels ){}
531DECL_EXP
void glCopyPixels(
int x,
int y,
532 size_t width,
size_t height,
539DECL_EXP
void glStencilFunc(
unsigned func,
int ref,
unsigned mask ){}
541DECL_EXP
void glStencilMask(
unsigned mask ){}
543DECL_EXP
void glStencilOp(
unsigned fail,
unsigned zfail,
unsigned zpass ){}
545DECL_EXP
void glClearStencil(
int s ){}
553DECL_EXP
void glTexGend(
unsigned coord,
unsigned pname,
double param ){}
554DECL_EXP
void glTexGenf(
unsigned coord,
unsigned pname,
float param ){}
555DECL_EXP
void glTexGeni(
unsigned coord,
unsigned pname,
int param ){}
557DECL_EXP
void glTexGendv(
unsigned coord,
unsigned pname,
const double *params ){}
558DECL_EXP
void glTexGenfv(
unsigned coord,
unsigned pname,
const float *params ){}
559DECL_EXP
void glTexGeniv(
unsigned coord,
unsigned pname,
const int *params ){}
561DECL_EXP
void glGetTexGendv(
unsigned coord,
unsigned pname,
double *params ){}
562DECL_EXP
void glGetTexGenfv(
unsigned coord,
unsigned pname,
float *params ){}
563DECL_EXP
void glGetTexGeniv(
unsigned coord,
unsigned pname,
int *params ){}
566DECL_EXP
void glTexEnvf(
unsigned target,
unsigned pname,
float param ){}
567DECL_EXP
void glTexEnvi(
unsigned target,
unsigned pname,
int param ){}
569DECL_EXP
void glTexEnvfv(
unsigned target,
unsigned pname,
const float *params ){}
570DECL_EXP
void glTexEnviv(
unsigned target,
unsigned pname,
const int *params ){}
572DECL_EXP
void glGetTexEnvfv(
unsigned target,
unsigned pname,
float *params ){}
573DECL_EXP
void glGetTexEnviv(
unsigned target,
unsigned pname,
int *params ){}
576DECL_EXP
void glTexParameterf(
unsigned target,
unsigned pname,
float param ){}
577DECL_EXP
void glTexParameteri(
unsigned target,
unsigned pname,
int param ){}
579DECL_EXP
void glTexParameterfv(
unsigned target,
unsigned pname,
580 const float *params ){}
581DECL_EXP
void glTexParameteriv(
unsigned target,
unsigned pname,
582 const int *params ){}
584DECL_EXP
void glGetTexParameterfv(
unsigned target,
585 unsigned pname,
float *params){}
586DECL_EXP
void glGetTexParameteriv(
unsigned target,
587 unsigned pname,
int *params ){}
589DECL_EXP
void glGetTexLevelParameterfv(
unsigned target,
int level,
590 unsigned pname,
float *params ){}
591DECL_EXP
void glGetTexLevelParameteriv(
unsigned target,
int level,
592 unsigned pname,
int *params ){}
595DECL_EXP
void glTexImage1D(
unsigned target,
int level,
597 size_t width,
int border,
598 unsigned format,
unsigned type,
599 const void *pixels ){}
601DECL_EXP
void glTexImage2D(
unsigned target,
int level,
603 size_t width,
size_t height,
604 int border,
unsigned format,
unsigned type,
605 const void *pixels ){}
607DECL_EXP
void glGetTexImage(
unsigned target,
int level,
608 unsigned format,
unsigned type,
614DECL_EXP
void glGenTextures(
size_t n,
unsigned *textures ){}
616DECL_EXP
void glDeleteTextures(
size_t n,
const unsigned *textures){}
618DECL_EXP
void glBindTexture(
unsigned target,
unsigned texture ){}
620DECL_EXP
void glPrioritizeTextures(
size_t n,
621 const unsigned *textures,
622 const unsigned *priorities ){}
624DECL_EXP
bool glAreTexturesResident(
size_t n,
625 const unsigned *textures,
626 bool *residences ){
return true; }
628DECL_EXP
bool glIsTexture(
unsigned texture ){
return true; }
631DECL_EXP
void glTexSubImage1D(
unsigned target,
int level,
633 size_t width,
unsigned format,
634 unsigned type,
const void *pixels ){}
637DECL_EXP
void glTexSubImage2D(
unsigned target,
int level,
638 int xoffset,
int yoffset,
639 size_t width,
size_t height,
640 unsigned format,
unsigned type,
641 const void *pixels ){}
644DECL_EXP
void glCopyTexImage1D(
unsigned target,
int level,
645 unsigned internalformat,
647 size_t width,
int border ){}
650DECL_EXP
void glCopyTexImage2D(
unsigned target,
int level,
651 unsigned internalformat,
653 size_t width,
size_t height,
657DECL_EXP
void glCopyTexSubImage1D(
unsigned target,
int level,
658 int xoffset,
int x,
int y,
662DECL_EXP
void glCopyTexSubImage2D(
unsigned target,
int level,
663 int xoffset,
int yoffset,
665 size_t width,
size_t height ){}
672DECL_EXP
void glMap1d(
unsigned target,
double u1,
double u2,
674 int order,
const double *points ){}
675DECL_EXP
void glMap1f(
unsigned target,
float u1,
float u2,
677 int order,
const float *points ){}
679DECL_EXP
void glMap2d(
unsigned target,
680 double u1,
double u2,
int ustride,
int uorder,
681 double v1,
double v2,
int vstride,
int vorder,
682 const double *points ){}
683DECL_EXP
void glMap2f(
unsigned target,
684 float u1,
float u2,
int ustride,
int uorder,
685 float v1,
float v2,
int vstride,
int vorder,
686 const float *points ){}
688DECL_EXP
void glGetMapdv(
unsigned target,
unsigned query,
double *v ){}
689DECL_EXP
void glGetMapfv(
unsigned target,
unsigned query,
float *v ){}
690DECL_EXP
void glGetMapiv(
unsigned target,
unsigned query,
int *v ){}
692DECL_EXP
void glEvalCoord1d(
double u ){}
693DECL_EXP
void glEvalCoord1f(
float u ){}
695DECL_EXP
void glEvalCoord1dv(
const double *u ){}
696DECL_EXP
void glEvalCoord1fv(
const float *u ){}
698DECL_EXP
void glEvalCoord2d(
double u,
double v ){}
699DECL_EXP
void glEvalCoord2f(
float u,
float v ){}
701DECL_EXP
void glEvalCoord2dv(
const double *u ){}
702DECL_EXP
void glEvalCoord2fv(
const float *u ){}
704DECL_EXP
void glMapGrid1d(
int un,
double u1,
double u2 ){}
705DECL_EXP
void glMapGrid1f(
int un,
float u1,
float u2 ){}
707DECL_EXP
void glMapGrid2d(
int un,
double u1,
double u2,
708 int vn,
double v1,
double v2 ){}
709DECL_EXP
void glMapGrid2f(
int un,
float u1,
float u2,
710 int vn,
float v1,
float v2 ){}
712DECL_EXP
void glEvalPoint1(
int i ){}
714DECL_EXP
void glEvalPoint2(
int i,
int j ){}
716DECL_EXP
void glEvalMesh1(
unsigned mode,
int i1,
int i2 ){}
718DECL_EXP
void glEvalMesh2(
unsigned mode,
int i1,
int i2,
int j1,
int j2 ){}
725DECL_EXP
void glFogf(
unsigned pname,
float param ){}
727DECL_EXP
void glFogi(
unsigned pname,
int param ){}
729DECL_EXP
void glFogfv(
unsigned pname,
const float *params ){}
731DECL_EXP
void glFogiv(
unsigned pname,
const int *params ){}
738DECL_EXP
void glFeedbackBuffer(
size_t size,
unsigned type,
float *buffer ){}
740DECL_EXP
void glPassThrough(
float token ){}
742DECL_EXP
void glSelectBuffer(
size_t size,
unsigned *buffer ){}
744DECL_EXP
void glInitNames(
void ){}
746DECL_EXP
void glLoadName(
unsigned name ){}
748DECL_EXP
void glPushName(
unsigned name ){}
750DECL_EXP
void glPopName(
void ){}
758DECL_EXP
void glDrawRangeElements(
unsigned mode,
unsigned start,
759 unsigned end,
size_t count,
unsigned type,
const void *indices ){}
761DECL_EXP
void glTexImage3D(
unsigned target,
int level,
763 size_t width,
size_t height,
764 size_t depth,
int border,
765 unsigned format,
unsigned type,
766 const void *pixels ){}
768DECL_EXP
void glTexSubImage3D(
unsigned target,
int level,
769 int xoffset,
int yoffset,
770 int zoffset,
size_t width,
771 size_t height,
size_t depth,
773 unsigned type,
const void *pixels){}
775DECL_EXP
void glCopyTexSubImage3D(
unsigned target,
int level,
776 int xoffset,
int yoffset,
783DECL_EXP
void glColorTable(
unsigned target,
unsigned internalformat,
784 size_t width,
unsigned format,
785 unsigned type,
const void *table ){}
787DECL_EXP
void glColorSubTable(
unsigned target,
788 size_t start,
size_t count,
789 unsigned format,
unsigned type,
792DECL_EXP
void glColorTableParameteriv(
unsigned target,
unsigned pname,
795DECL_EXP
void glColorTableParameterfv(
unsigned target,
unsigned pname,
796 const float *params){}
798DECL_EXP
void glCopyColorSubTable(
unsigned target,
size_t start,
799 int x,
int y,
size_t width ){}
801DECL_EXP
void glCopyColorTable(
unsigned target,
unsigned internalformat,
802 int x,
int y,
size_t width ){}
804DECL_EXP
void glGetColorTable(
unsigned target,
unsigned format,
805 unsigned type,
void *table ){}
807DECL_EXP
void glGetColorTableParameterfv(
unsigned target,
unsigned pname,
810DECL_EXP
void glGetColorTableParameteriv(
unsigned target,
unsigned pname,
813DECL_EXP
void glBlendEquation(
unsigned mode ){}
815DECL_EXP
void glBlendColor(
unsigned red,
unsigned green,
816 unsigned blue,
unsigned alpha ){}
818DECL_EXP
void glHistogram(
unsigned target,
size_t width,
819 unsigned internalformat,
bool sink ){}
821DECL_EXP
void glResetHistogram(
unsigned target ){}
823DECL_EXP
void glGetHistogram(
unsigned target,
bool reset,
824 unsigned format,
unsigned type,
827DECL_EXP
void glGetHistogramParameterfv(
unsigned target,
unsigned pname,
830DECL_EXP
void glGetHistogramParameteriv(
unsigned target,
unsigned pname,
833DECL_EXP
void glMinmax(
unsigned target,
unsigned internalformat,
836DECL_EXP
void glResetMinmax(
unsigned target ){}
838DECL_EXP
void glGetMinmax(
unsigned target,
bool reset,
839 unsigned format,
unsigned types,
842DECL_EXP
void glGetMinmaxParameterfv(
unsigned target,
unsigned pname,
845DECL_EXP
void glGetMinmaxParameteriv(
unsigned target,
unsigned pname,
848DECL_EXP
void glConvolutionFilter1D(
unsigned target,
849 unsigned internalformat,
size_t width,
unsigned format,
unsigned type,
850 const void *image ){}
852DECL_EXP
void glConvolutionFilter2D(
unsigned target,
853 unsigned internalformat,
size_t width,
size_t height,
unsigned format,
854 unsigned type,
const void *image ){}
856DECL_EXP
void glConvolutionParameterf(
unsigned target,
unsigned pname,
859DECL_EXP
void glConvolutionParameterfv(
unsigned target,
unsigned pname,
860 const float *params ){}
862DECL_EXP
void glConvolutionParameteri(
unsigned target,
unsigned pname,
865DECL_EXP
void glConvolutionParameteriv(
unsigned target,
unsigned pname,
866 const int *params ){}
868DECL_EXP
void glCopyConvolutionFilter1D(
unsigned target,
869 unsigned internalformat,
int x,
int y,
size_t width ){}
871DECL_EXP
void glCopyConvolutionFilter2D(
unsigned target,
872 unsigned internalformat,
int x,
int y,
size_t width,
875DECL_EXP
void glGetConvolutionFilter(
unsigned target,
unsigned format,
876 unsigned type,
void *image ){}
878DECL_EXP
void glGetConvolutionParameterfv(
unsigned target,
unsigned pname,
881DECL_EXP
void glGetConvolutionParameteriv(
unsigned target,
unsigned pname,
884DECL_EXP
void glSeparableFilter2D(
unsigned target,
885 unsigned internalformat,
size_t width,
size_t height,
unsigned format,
886 unsigned type,
const void *row,
const void *column ){}
888DECL_EXP
void glGetSeparableFilter(
unsigned target,
unsigned format,
889 unsigned type,
void *row,
void *column,
void *span ){}
898DECL_EXP
void glActiveTexture(
unsigned texture ){}
900DECL_EXP
void glClientActiveTexture(
unsigned texture ){}
902DECL_EXP
void glCompressedTexImage1D(
unsigned target,
int level,
unsigned internalformat,
size_t width,
int border,
size_t imageSize,
const void *data ){}
904DECL_EXP
void glCompressedTexImage2D(
unsigned target,
int level,
unsigned internalformat,
size_t width,
size_t height,
int border,
size_t imageSize,
const void *data ){}
906DECL_EXP
void glCompressedTexImage3D(
unsigned target,
int level,
unsigned internalformat,
size_t width,
size_t height,
size_t depth,
int border,
size_t imageSize,
const void *data ){}
908DECL_EXP
void glCompressedTexSubImage1D(
unsigned target,
int level,
int xoffset,
size_t width,
unsigned format,
size_t imageSize,
const void *data ){}
910DECL_EXP
void glCompressedTexSubImage2D(
unsigned target,
int level,
int xoffset,
int yoffset,
size_t width,
size_t height,
unsigned format,
size_t imageSize,
const void *data ){}
912DECL_EXP
void glCompressedTexSubImage3D(
unsigned target,
int level,
int xoffset,
int yoffset,
int zoffset,
size_t width,
size_t height,
size_t depth,
unsigned format,
size_t imageSize,
const void *data ){}
914DECL_EXP
void glGetCompressedTexImage(
unsigned target,
int lod,
void *img ){}
916DECL_EXP
void glMultiTexCoord1d(
unsigned target,
double s ){}
918DECL_EXP
void glMultiTexCoord1dv(
unsigned target,
const double *v ){}
920DECL_EXP
void glMultiTexCoord1f(
unsigned target,
float s ){}
922DECL_EXP
void glMultiTexCoord1fv(
unsigned target,
const float *v ){}
924DECL_EXP
void glMultiTexCoord1i(
unsigned target,
int s ){}
926DECL_EXP
void glMultiTexCoord1iv(
unsigned target,
const int *v ){}
928DECL_EXP
void glMultiTexCoord1s(
unsigned target,
short s ){}
930DECL_EXP
void glMultiTexCoord1sv(
unsigned target,
const short *v ){}
932DECL_EXP
void glMultiTexCoord2d(
unsigned target,
double s,
double t ){}
934DECL_EXP
void glMultiTexCoord2dv(
unsigned target,
const double *v ){}
936DECL_EXP
void glMultiTexCoord2f(
unsigned target,
float s,
float t ){}
938DECL_EXP
void glMultiTexCoord2fv(
unsigned target,
const float *v ){}
940DECL_EXP
void glMultiTexCoord2i(
unsigned target,
int s,
int t ){}
942DECL_EXP
void glMultiTexCoord2iv(
unsigned target,
const int *v ){}
944DECL_EXP
void glMultiTexCoord2s(
unsigned target,
short s,
short t ){}
946DECL_EXP
void glMultiTexCoord2sv(
unsigned target,
const short *v ){}
948DECL_EXP
void glMultiTexCoord3d(
unsigned target,
double s,
double t,
double r ){}
950DECL_EXP
void glMultiTexCoord3dv(
unsigned target,
const double *v ){}
952DECL_EXP
void glMultiTexCoord3f(
unsigned target,
float s,
float t,
float r ){}
954DECL_EXP
void glMultiTexCoord3fv(
unsigned target,
const float *v ){}
956DECL_EXP
void glMultiTexCoord3i(
unsigned target,
int s,
int t,
int r ){}
958DECL_EXP
void glMultiTexCoord3iv(
unsigned target,
const int *v ){}
960DECL_EXP
void glMultiTexCoord3s(
unsigned target,
short s,
short t,
short r ){}
962DECL_EXP
void glMultiTexCoord3sv(
unsigned target,
const short *v ){}
964DECL_EXP
void glMultiTexCoord4d(
unsigned target,
double s,
double t,
double r,
double q ){}
966DECL_EXP
void glMultiTexCoord4dv(
unsigned target,
const double *v ){}
968DECL_EXP
void glMultiTexCoord4f(
unsigned target,
float s,
float t,
float r,
float q ){}
970DECL_EXP
void glMultiTexCoord4fv(
unsigned target,
const float *v ){}
972DECL_EXP
void glMultiTexCoord4i(
unsigned target,
int s,
int t,
int r,
int q ){}
974DECL_EXP
void glMultiTexCoord4iv(
unsigned target,
const int *v ){}
976DECL_EXP
void glMultiTexCoord4s(
unsigned target,
short s,
short t,
short r,
short q ){}
978DECL_EXP
void glMultiTexCoord4sv(
unsigned target,
const short *v ){}
981DECL_EXP
void glLoadTransposeMatrixd(
const double m[16] ){}
983DECL_EXP
void glLoadTransposeMatrixf(
const float m[16] ){}
985DECL_EXP
void glMultTransposeMatrixd(
const double m[16] ){}
987DECL_EXP
void glMultTransposeMatrixf(
const float m[16] ){}
989DECL_EXP
void glSampleCoverage(
unsigned value,
bool invert ){}
995DECL_EXP
void glActiveTextureARB(
unsigned texture){}
996DECL_EXP
void glClientActiveTextureARB(
unsigned texture){}
997DECL_EXP
void glMultiTexCoord1dARB(
unsigned target,
double s){}
998DECL_EXP
void glMultiTexCoord1dvARB(
unsigned target,
const double *v){}
999DECL_EXP
void glMultiTexCoord1fARB(
unsigned target,
float s){}
1000DECL_EXP
void glMultiTexCoord1fvARB(
unsigned target,
const float *v){}
1001DECL_EXP
void glMultiTexCoord1iARB(
unsigned target,
int s){}
1002DECL_EXP
void glMultiTexCoord1ivARB(
unsigned target,
const int *v){}
1003DECL_EXP
void glMultiTexCoord1sARB(
unsigned target,
short s){}
1004DECL_EXP
void glMultiTexCoord1svARB(
unsigned target,
const short *v){}
1005DECL_EXP
void glMultiTexCoord2dARB(
unsigned target,
double s,
double t){}
1006DECL_EXP
void glMultiTexCoord2dvARB(
unsigned target,
const double *v){}
1007DECL_EXP
void glMultiTexCoord2fARB(
unsigned target,
float s,
float t){}
1008DECL_EXP
void glMultiTexCoord2fvARB(
unsigned target,
const float *v){}
1009DECL_EXP
void glMultiTexCoord2iARB(
unsigned target,
int s,
int t){}
1010DECL_EXP
void glMultiTexCoord2ivARB(
unsigned target,
const int *v){}
1011DECL_EXP
void glMultiTexCoord2sARB(
unsigned target,
short s,
short t){}
1012DECL_EXP
void glMultiTexCoord2svARB(
unsigned target,
const short *v){}
1013DECL_EXP
void glMultiTexCoord3dARB(
unsigned target,
double s,
double t,
double r){}
1014DECL_EXP
void glMultiTexCoord3dvARB(
unsigned target,
const double *v){}
1015DECL_EXP
void glMultiTexCoord3fARB(
unsigned target,
float s,
float t,
float r){}
1016DECL_EXP
void glMultiTexCoord3fvARB(
unsigned target,
const float *v){}
1017DECL_EXP
void glMultiTexCoord3iARB(
unsigned target,
int s,
int t,
int r){}
1018DECL_EXP
void glMultiTexCoord3ivARB(
unsigned target,
const int *v){}
1019DECL_EXP
void glMultiTexCoord3sARB(
unsigned target,
short s,
short t,
short r){}
1020DECL_EXP
void glMultiTexCoord3svARB(
unsigned target,
const short *v){}
1021DECL_EXP
void glMultiTexCoord4dARB(
unsigned target,
double s,
double t,
double r,
double q){}
1022DECL_EXP
void glMultiTexCoord4dvARB(
unsigned target,
const double *v){}
1023DECL_EXP
void glMultiTexCoord4fARB(
unsigned target,
float s,
float t,
float r,
float q){}
1024DECL_EXP
void glMultiTexCoord4fvARB(
unsigned target,
const float *v){}
1025DECL_EXP
void glMultiTexCoord4iARB(
unsigned target,
int s,
int t,
int r,
int q){}
1026DECL_EXP
void glMultiTexCoord4ivARB(
unsigned target,
const int *v){}
1027DECL_EXP
void glMultiTexCoord4sARB(
unsigned target,
short s,
short t,
short r,
short q){}
1028DECL_EXP
void glMultiTexCoord4svARB(
unsigned target,
const short *v){}
1032DECL_EXP
void glGetProgramRegisterfvMESA(
unsigned target,
size_t len,
const unsigned char *name,
float *v){}
1035DECL_EXP
void glBlendEquationSeparateATI(
unsigned modeRGB,
unsigned modeA ){}
1040void RemovePlugInTool(
int tool_id) {}
1041DECL_EXP
int InsertPlugInToolSVG(wxString label, wxString SVGfile,
1042 wxString SVGfileRollover, wxString SVGfileToggled,
1043 wxItemKind kind, wxString shortHelp, wxString longHelp,
1044 wxObject *clientData,
int position,
int tool_sel,
1047DECL_EXP
int InsertPlugInTool(wxString label, wxBitmap *bitmap, wxBitmap *bmpRollover,
1048 wxItemKind kind, wxString shortHelp, wxString longHelp,
1049 wxObject *clientData,
int position,
int tool_sel,
1051void DimeWindow(wxWindow* win) {}
1052wxFont* OCPNGetFont(wxString TextElement,
int default_size) {
return 0; }
1053void SetToolbarItemState(
int item,
bool toggle) {}
1054wxAuiManager *GetFrameAuiManager(
void) {
return 0; }
1055wxWindow *GetOCPNCanvasWindow() {
return 0; }
1057DECL_EXP
int AddCanvasContextMenuItem(wxMenuItem *pitem,
1061DECL_EXP
void SetToolbarToolBitmaps(
int item, wxBitmap *bitmap, wxBitmap *bmpRollover) {}
1062DECL_EXP
void SetToolbarToolBitmapsSVG(
int item, wxString SVGfile,
1063 wxString SVGfileRollover,
1064 wxString SVGfileToggled) {}
1065DECL_EXP
void RemoveCanvasContextMenuItem(
int item) {}
1066DECL_EXP
void JumpToPosition(
double lat,
double lon,
double scale){};
1067DECL_EXP
void SetCanvasContextMenuItemViz(
int item,
bool viz) {}
1068DECL_EXP
void SetCanvasContextMenuItemGrey(
int item,
bool grey) {}
1069DECL_EXP
void RequestRefresh(wxWindow *) {}
1070DECL_EXP
void DistanceBearingMercator_Plugin(
double lat0,
double lon0,
1071 double lat1,
double lon1,
1072 double *brg,
double *dist) {}
1073DECL_EXP
void GetCanvasPixLL(
PlugIn_ViewPort *vp, wxPoint *pp,
double lat,
1076 double *plat,
double *plon) {}
1077DECL_EXP
void PushNMEABuffer(wxString str) {}
1078DECL_EXP
void PositionBearingDistanceMercator_Plugin(
double lat,
double lon,
1079 double brg,
double dist,
1082DECL_EXP
double DistGreatCircle_Plugin(
double slat,
double slon,
double dlat,
1086wxXmlDocument dummy_xml_doc;
1087DECL_EXP wxXmlDocument GetChartDatabaseEntryXML(
int dbIndex,
bool b_getGeom) {
1088 return dummy_xml_doc;
1090DECL_EXP
bool UpdateChartDBInplace(wxArrayString dir_array,
bool b_force_update,
1091 bool b_ProgressDialog) {
1094wxArrayString dummy_array_string;
1095DECL_EXP wxArrayString GetChartDBDirArrayString() {
return dummy_array_string; }
1096DECL_EXP
void toTM_Plugin(
float lat,
float lon,
float lat0,
float lon0,
1097 double *x,
double *y) {}
1098DECL_EXP
void fromTM_Plugin(
double x,
double y,
double lat0,
double lon0,
1099 double *lat,
double *lon) {}
1100DECL_EXP
void toSM_Plugin(
double lat,
double lon,
double lat0,
double lon0,
1101 double *x,
double *y) {}
1102DECL_EXP
void fromSM_Plugin(
double x,
double y,
double lat0,
double lon0,
1103 double *lat,
double *lon) {}
1104DECL_EXP
void toSM_ECC_Plugin(
double lat,
double lon,
double lat0,
double lon0,
1105 double *x,
double *y) {}
1106DECL_EXP
void fromSM_ECC_Plugin(
double x,
double y,
double lat0,
double lon0,
1107 double *lat,
double *lon) {}
1108DECL_EXP
bool DecodeSingleVDOMessage(
const wxString &str,
1113DECL_EXP
bool GetActiveRoutepointGPX(
char *buffer,
unsigned int buffer_length) {
1116DECL_EXP
int GetChartbarHeight(
void) {
return 1; }
1117void SendPluginMessage(wxString message_id, wxString message_body) {}
1118bool AddLocaleCatalog(wxString catalog) {
return true; }
1119bool GetGlobalColor(wxString colorName, wxColour *pcolour) {
return true; }
1120wxFileConfig *GetOCPNConfigObject(
void) {
return 0; }
1122DECL_EXP wxScrolledWindow *AddOptionsPage(OptionsParentPI parent,
1126DECL_EXP
bool DeleteOptionsPage(wxScrolledWindow *page) {
return true; }
1128DECL_EXP
double toUsrDistance_Plugin(
double nm_distance,
int unit) {
1131DECL_EXP
double fromUsrDistance_Plugin(
double usr_distance,
int unit) {
1134DECL_EXP
double toUsrSpeed_Plugin(
double kts_speed,
int unit) {
return 0.0; }
1135DECL_EXP
double fromUsrSpeed_Plugin(
double usr_speed,
int unit) {
return 0.0; }
1136DECL_EXP
double toUsrTemp_Plugin(
double cel_temp,
int unit) {
return 0.0; }
1137DECL_EXP
double fromUsrTemp_Plugin(
double usr_temp,
int unit) {
return 0.0; }
1138DECL_EXP wxString getUsrDistanceUnit_Plugin(
int unit) {
return ""; }
1139DECL_EXP wxString getUsrSpeedUnit_Plugin(
int unit) {
return ""; }
1140DECL_EXP wxString getUsrTempUnit_Plugin(
int unit) {
return ""; }
1141DECL_EXP wxString GetNewGUID() {
return ""; }
1142DECL_EXP
bool PlugIn_GSHHS_CrossesLand(
double lat1,
double lon1,
double lat2,
1147DECL_EXP
void PlugInPlaySound(wxString &sound_file){};
1150DECL_EXP wxBitmap *FindSystemWaypointIcon(wxString &icon_name) {
return 0; }
1151DECL_EXP
bool AddCustomWaypointIcon(wxBitmap *pimage, wxString key,
1152 wxString description) {
1156DECL_EXP
bool AddSingleWaypoint(
PlugIn_Waypoint *pwaypoint,
bool b_permanent) {
1159DECL_EXP
bool DeleteSingleWaypoint(wxString &GUID) {
return true; }
1160DECL_EXP
bool UpdateSingleWaypoint(
PlugIn_Waypoint *pwaypoint) {
return true; }
1162DECL_EXP
bool AddPlugInRoute(
PlugIn_Route *proute,
bool b_permanent) {
1165DECL_EXP
bool DeletePlugInRoute(wxString &GUID) {
return true; }
1166DECL_EXP
bool UpdatePlugInRoute(
PlugIn_Route *proute) {
return true; }
1168DECL_EXP PlugIn_Track::PlugIn_Track() {}
1169DECL_EXP PlugIn_Track::~PlugIn_Track() {}
1170DECL_EXP
bool AddPlugInTrack(
PlugIn_Track *ptrack,
bool b_permanent) {
1173DECL_EXP
bool DeletePlugInTrack(wxString &GUID) {
return true; }
1174DECL_EXP
bool UpdatePlugInTrack(
PlugIn_Track *ptrack) {
return true; }
1176DECL_EXP wxColour GetBaseGlobalColor(wxString colorName) {
return *wxRED; }
1177int DECL_EXP OCPNMessageBox_PlugIn(wxWindow *parent,
const wxString &message,
1178 const wxString &caption,
int style,
int x,
1183DECL_EXP wxString toSDMM_PlugIn(
int NEflag,
double a,
bool hi_precision) {
1186wxString dummy_string;
1187DECL_EXP wxString *GetpPrivateApplicationDataLocation() {
1188 return &dummy_string;
1190DECL_EXP wxString GetOCPN_ExePath(
void) {
return wxString(
""); }
1191DECL_EXP wxString *GetpPlugInLocation() {
return &dummy_string; }
1193 return wxString(
"");
1196DECL_EXP
int AddChartToDBInPlace(wxString &full_path,
bool b_RefreshCanvas) {
1199DECL_EXP
int RemoveChartFromDBInPlace(wxString &full_path) {
return 0; }
1200DECL_EXP wxString GetLocaleCanonicalName() {
return wxString(
""); }
1203PlugInChartBase::PlugInChartBase() {}
1204PlugInChartBase::~PlugInChartBase() {}
1206wxString PlugInChartBase::GetFileSearchMask(
void) {
return wxString(
""); }
1208int PlugInChartBase::Init(
const wxString &full_path,
int init_flags) {
1211void PlugInChartBase::SetColorScheme(
int cs,
bool bApplyImmediate) {}
1213double PlugInChartBase::GetNormalScaleMin(
double canvas_scale_factor,
1214 bool b_allow_overzoom) {
1217double PlugInChartBase::GetNormalScaleMax(
double canvas_scale_factor,
1221double PlugInChartBase::GetNearestPreferredScalePPM(
double target_scale_ppm) {
1225bool PlugInChartBase::GetChartExtent(
ExtentPI *pext) {
return true; }
1227wxBitmap dummy_bitmap;
1228wxBitmap &PlugInChartBase::RenderRegionView(
const PlugIn_ViewPort &VPoint,
1229 const wxRegion &Region) {
1230 return dummy_bitmap;
1238void PlugInChartBase::GetValidCanvasRegion(
const PlugIn_ViewPort &VPoint,
1239 wxRegion *pValidRegion) {}
1241wxBitmap *PlugInChartBase::GetThumbnail(
int tnx,
int tny,
int cs) {
1242 return &dummy_bitmap;
1245void PlugInChartBase::ComputeSourceRectangle(
const PlugIn_ViewPort &vp,
1246 wxRect *pSourceRect) {}
1247double PlugInChartBase::GetRasterScaleFactor() {
return 0.0; }
1248bool PlugInChartBase::GetChartBits(wxRect &source,
unsigned char *pPix,
1252int PlugInChartBase::GetSize_X() {
return 0; }
1253int PlugInChartBase::GetSize_Y() {
return 0; }
1254void PlugInChartBase::latlong_to_chartpix(
double lat,
double lon,
double &pixx,
1256void PlugInChartBase::chartpix_to_latlong(
double pixx,
double pixy,
1257 double *plat,
double *plon) {}
1264PlugInChartBaseGL::PlugInChartBaseGL() {}
1265PlugInChartBaseGL::~PlugInChartBaseGL() {}
1267int PlugInChartBaseGL::RenderRegionViewOnGL(
const wxGLContext &glc,
1269 const wxRegion &Region,
1270 bool b_use_stencil) {
1274ListOfPI_S57Obj *PlugInChartBaseGL::GetObjRuleListAtLatLon(
1278wxString PlugInChartBaseGL::CreateObjDescriptions(ListOfPI_S57Obj *obj_list) {
1282int PlugInChartBaseGL::GetNoCOVREntries() {
return 0; }
1283int PlugInChartBaseGL::GetNoCOVRTablePoints(
int iTable) {
return 0; }
1284int PlugInChartBaseGL::GetNoCOVRTablenPoints(
int iTable) {
return 0; }
1285float *PlugInChartBaseGL::GetNoCOVRTableHead(
int iTable) {
return 0; }
1292PlugInChartBaseGLPlus2::PlugInChartBaseGLPlus2() {}
1293PlugInChartBaseGLPlus2::~PlugInChartBaseGLPlus2() {}
1295ListOfPI_S57Obj *PlugInChartBaseGLPlus2::GetLightsObjRuleListVisibleAtLatLon(
1305PlugInChartBaseExtended::PlugInChartBaseExtended() {}
1306PlugInChartBaseExtended::~PlugInChartBaseExtended() {}
1308int PlugInChartBaseExtended::RenderRegionViewOnGL(
const wxGLContext &glc,
1310 const wxRegion &Region,
1311 bool b_use_stencil) {
1314wxBitmap &PlugInChartBaseExtended::RenderRegionViewOnDCNoText(
1316 return dummy_bitmap;
1318bool PlugInChartBaseExtended::RenderRegionViewOnDCTextOnly(
1319 wxMemoryDC &dc,
const PlugIn_ViewPort &VPoint,
const wxRegion &Region) {
1323int PlugInChartBaseExtended::RenderRegionViewOnGLNoText(
1325 const wxRegion &Region,
bool b_use_stencil) {
1329int PlugInChartBaseExtended::RenderRegionViewOnGLTextOnly(
1331 const wxRegion &Region,
bool b_use_stencil) {
1335ListOfPI_S57Obj *PlugInChartBaseExtended::GetObjRuleListAtLatLon(
1339wxString PlugInChartBaseExtended::CreateObjDescriptions(
1340 ListOfPI_S57Obj *obj_list) {
1341 return wxString(
"");
1344int PlugInChartBaseExtended::GetNoCOVREntries() {
return 0; }
1345int PlugInChartBaseExtended::GetNoCOVRTablePoints(
int iTable) {
return 0; }
1346int PlugInChartBaseExtended::GetNoCOVRTablenPoints(
int iTable) {
return 0; }
1347float *PlugInChartBaseExtended::GetNoCOVRTableHead(
int iTable) {
return 0; }
1349void PlugInChartBaseExtended::ClearPLIBTextList() {}
1357PlugInChartBaseExtendedPlus2::PlugInChartBaseExtendedPlus2() {}
1358PlugInChartBaseExtendedPlus2::~PlugInChartBaseExtendedPlus2() {}
1360PlugInChartBaseExtendedPlus2::GetLightsObjRuleListVisibleAtLatLon(
1365class wxArrayOfS57attVal;
1367PI_S57Obj::PI_S57Obj() {}
1369DECL_EXP wxString PI_GetPLIBColorScheme() {
return ""; }
1370DECL_EXP
int PI_GetPLIBDepthUnitInt() {
return 0; }
1371DECL_EXP
int PI_GetPLIBSymbolStyle() {
return 0; }
1372DECL_EXP
int PI_GetPLIBBoundaryStyle() {
return 0; }
1373DECL_EXP
int PI_GetPLIBStateHash() {
return 0; }
1374DECL_EXP
double PI_GetPLIBMarinerSafetyContour() {
return 0; }
1375DECL_EXP
bool PI_GetObjectRenderBox(
PI_S57Obj *pObj,
double *lat_min,
1376 double *lat_max,
double *lon_min,
1380DECL_EXP
void PI_UpdateContext(
PI_S57Obj *pObj) {}
1381DECL_EXP
bool PI_PLIBObjectRenderCheck(
PI_S57Obj *pObj,
1385DECL_EXP PI_LUPname PI_GetObjectLUPName(
PI_S57Obj *pObj) {
1386 return PI_SIMPLIFIED;
1388DECL_EXP PI_DisPrio PI_GetObjectDisplayPriority(
PI_S57Obj *pObj) {
1389 return PI_PRIO_NODATA;
1391DECL_EXP PI_DisCat PI_GetObjectDisplayCategory(
PI_S57Obj *pObj) {
1392 return PI_DISPLAYBASE;
1394DECL_EXP
void PI_PLIBSetLineFeaturePriority(
PI_S57Obj *pObj,
int prio) {}
1395DECL_EXP
void PI_PLIBPrepareForNewRender(
void) {}
1396DECL_EXP
void PI_PLIBFreeContext(
void *pContext) {}
1397DECL_EXP
void PI_PLIBSetRenderCaps(
unsigned int flags) {}
1399DECL_EXP
bool PI_PLIBSetContext(
PI_S57Obj *pObj) {
return true; }
1400DECL_EXP
int PI_PLIBRenderObjectToDC(wxDC *pdc,
PI_S57Obj *pObj,
1404DECL_EXP
int PI_PLIBRenderAreaToDC(wxDC *pdc,
PI_S57Obj *pObj,
1406 unsigned char *pixbuf) {
1410DECL_EXP
int PI_PLIBRenderAreaToGL(
const wxGLContext &glcc,
PI_S57Obj *pObj,
1415DECL_EXP
int PI_PLIBRenderObjectToGL(
const wxGLContext &glcc,
PI_S57Obj *pObj,
1420DECL_EXP
bool PlugInHasNormalizedViewPort(
PlugIn_ViewPort *vp) {
return false; }
1426class wxPoint2DDouble;
1427DECL_EXP
void GetDoubleCanvasPixLL(
PlugIn_ViewPort *vp, wxPoint2DDouble *pp,
1428 double lat,
double lon) {}
1430DECL_EXP
double fromDMM_Plugin(wxString sdms) {
return 0.0; }
1431DECL_EXP
void SetCanvasRotation(
double rotation) {}
1432DECL_EXP
void SetCanvasProjection(
int projection) {}
1433DECL_EXP
bool GetSingleWaypoint(wxString GUID,
PlugIn_Waypoint *pwaypoint) {
1436DECL_EXP
bool CheckEdgePan_PlugIn(
int x,
int y,
bool dragging,
int margin,
1440DECL_EXP wxBitmap GetIcon_PlugIn(
const wxString &name) {
return dummy_bitmap; }
1441DECL_EXP
void SetCursor_PlugIn(wxCursor *pPlugin_Cursor) {}
1442DECL_EXP wxFont *GetOCPNScaledFont_PlugIn(wxString TextElement,
1447DECL_EXP wxFont GetOCPNGUIScaledFont_PlugIn(wxString item) {
return dummyFont; }
1448DECL_EXP
double GetOCPNGUIToolScaleFactor_PlugIn(
int GUIScaledFactor) {
1451DECL_EXP
double GetOCPNGUIToolScaleFactor_PlugIn() {
return 0.0; }
1452DECL_EXP
float GetOCPNChartScaleFactor_Plugin() {
return 0.0; }
1453DECL_EXP wxColour GetFontColour_PlugIn(wxString TextElement) {
return *wxRED; }
1455DECL_EXP
double GetCanvasTilt() {
return 0.0; }
1456DECL_EXP
void SetCanvasTilt(
double tilt) {}
1463DECL_EXP
bool PlugInPlaySoundEx(wxString &sound_file,
int deviceIndex) {
1466DECL_EXP
void AddChartDirectory(wxString &path) {}
1467DECL_EXP
void ForceChartDBUpdate() {}
1468DECL_EXP
void ForceChartDBRebuild() {}
1470DECL_EXP wxString GetWritableDocumentsDir(
void) {
return wxString(
""); }
1471DECL_EXP wxDialog *GetActiveOptionsDialog() {
return 0; }
1472DECL_EXP wxArrayString GetWaypointGUIDArray(
void) {
return dummy_array_string; }
1473DECL_EXP wxArrayString GetIconNameArray(
void) {
return dummy_array_string; }
1475DECL_EXP
bool AddPersistentFontKey(wxString TextElement) {
return true; }
1476DECL_EXP wxString GetActiveStyleName() {
return wxString(
""); }
1478DECL_EXP wxBitmap GetBitmapFromSVGFile(wxString filename,
unsigned int width,
1479 unsigned int height) {
1480 return dummy_bitmap;
1482DECL_EXP
bool IsTouchInterface_PlugIn(
void) {
return true; }
1485DECL_EXP
int PlatformDirSelectorDialog(wxWindow *parent, wxString *file_spec,
1486 wxString Title, wxString initDir) {
1490DECL_EXP
int PlatformFileSelectorDialog(wxWindow *parent, wxString *file_spec,
1491 wxString Title, wxString initDir,
1492 wxString suggestedName,
1493 wxString wildcard) {
1501DECL_EXP wxEventType wxEVT_DOWNLOAD_EVENT = wxNewEventType();
1503DECL_EXP _OCPN_DLStatus OCPN_downloadFile(
1504 const wxString &url,
const wxString &outputFile,
const wxString &title,
1505 const wxString &message,
const wxBitmap &bitmap, wxWindow *parent,
1506 long style,
int timeout_secs) {
1507 return OCPN_DL_UNKNOWN;
1511DECL_EXP _OCPN_DLStatus OCPN_downloadFileBackground(
const wxString &url,
1512 const wxString &outputFile,
1513 wxEvtHandler *handler,
1515 return OCPN_DL_UNKNOWN;
1518DECL_EXP
void OCPN_cancelDownloadFileBackground(
long handle) {}
1522DECL_EXP _OCPN_DLStatus OCPN_postDataHttp(
const wxString &url,
1523 const wxString ¶meters,
1524 wxString &result,
int timeout_secs) {
1525 return OCPN_DL_UNKNOWN;
1530DECL_EXP
bool OCPN_isOnline() {
return true; }
1532OCPN_downloadEvent::OCPN_downloadEvent(wxEventType commandType,
int id) {}
1534OCPN_downloadEvent::~OCPN_downloadEvent() {}
1536wxEvent *OCPN_downloadEvent::Clone()
const {
return 0; }
1542bool LaunchDefaultBrowser_Plugin(wxString url) {
return true; }
1547DECL_EXP
void PlugInAISDrawGL(wxGLCanvas *glcanvas,
const PlugIn_ViewPort &vp) {
1549DECL_EXP
bool PlugInSetFontColor(
const wxString TextElement,
1550 const wxColour color) {
1555DECL_EXP
double PlugInGetDisplaySizeMM() {
return 0.0; }
1558DECL_EXP wxFont *FindOrCreateFont_PlugIn(
int point_size, wxFontFamily family,
1559 wxFontStyle style, wxFontWeight weight,
1560 bool ul,
const wxString &face,
1561 wxFontEncoding enc) {
1565DECL_EXP
int PlugInGetMinAvailableGshhgQuality() {
return 0; }
1566DECL_EXP
int PlugInGetMaxAvailableGshhgQuality() {
return 0; }
1568DECL_EXP
void PlugInHandleAutopilotRoute(
bool enable) {}
1570wxString *GetpSharedDataLocation(
void) {
1571 return g_BasePlatform->GetSharedDataDirPtr();
1573DECL_EXP
bool ShuttingDown(
void) {
return true; }
1575DECL_EXP wxWindow *PluginGetFocusCanvas() {
return 0; }
1576DECL_EXP wxWindow *PluginGetOverlayRenderCanvas() {
return 0; }
1578DECL_EXP
void CanvasJumpToPosition(wxWindow *canvas,
double lat,
double lon,
1580DECL_EXP
int AddCanvasMenuItem(wxMenuItem *pitem,
opencpn_plugin *pplugin,
1584DECL_EXP
void RemoveCanvasMenuItem(
int item,
const char *name) {}
1585DECL_EXP
void SetCanvasMenuItemViz(
int item,
bool viz,
const char *name) {}
1586DECL_EXP
void SetCanvasMenuItemGrey(
int item,
bool grey,
const char *name) {}
1588DECL_EXP wxString GetSelectedWaypointGUID_Plugin() {
return wxString(
""); }
1589DECL_EXP wxString GetSelectedRouteGUID_Plugin() {
return wxString(
""); }
1590DECL_EXP wxString GetSelectedTrackGUID_Plugin() {
return wxString(
""); }
1592DECL_EXP std::unique_ptr<PlugIn_Waypoint> GetWaypoint_Plugin(
const wxString &) {
1595DECL_EXP std::unique_ptr<PlugIn_Route> GetRoute_Plugin(
const wxString &) {
1598DECL_EXP std::unique_ptr<PlugIn_Track> GetTrack_Plugin(
const wxString &) {
1602DECL_EXP wxWindow *GetCanvasUnderMouse() {
return 0; }
1603DECL_EXP
int GetCanvasIndexUnderMouse() {
return 0; }
1604DECL_EXP wxWindow *GetCanvasByIndex(
int canvasIndex) {
return 0; }
1605DECL_EXP
int GetCanvasCount() {
return 0; }
1606DECL_EXP
bool CheckMUIEdgePan_PlugIn(
int x,
int y,
bool dragging,
int margin,
1607 int delta,
int canvasIndex) {
1610DECL_EXP
void SetMUICursor_PlugIn(wxCursor *pCursor,
int canvasIndex) {}
1611wxRect dummy_rectangle;
1612DECL_EXP wxRect GetMasterToolbarRect() {
return dummy_rectangle; }
1614DECL_EXP
int GetLatLonFormat(
void) {
return 0; }
1616DECL_EXP
void ZeroXTE() {}
1618DECL_EXP PlugIn_Waypoint::PlugIn_Waypoint() {}
1619DECL_EXP PlugIn_Waypoint::~PlugIn_Waypoint() {}
1620DECL_EXP PlugIn_Waypoint_Ex::PlugIn_Waypoint_Ex() {}
1621DECL_EXP PlugIn_Waypoint_Ex::PlugIn_Waypoint_Ex(
1622 double lat,
double lon,
const wxString &icon_ident,
const wxString &wp_name,
1623 const wxString &GUID,
const double ScaMin,
const bool bNameVisible,
1624 const int nRanges,
const double RangeDistance,
const wxColor RangeColor) {}
1625DECL_EXP PlugIn_Waypoint_Ex::~PlugIn_Waypoint_Ex() {}
1626DECL_EXP
void PlugIn_Waypoint_Ex::InitDefaults() {}
1628DECL_EXP
bool PlugIn_Waypoint_Ex::GetFSStatus() {
return true; }
1630DECL_EXP
int PlugIn_Waypoint_Ex::GetRouteMembershipCount() {
return 0; }
1632DECL_EXP PlugIn_Route::PlugIn_Route(
void) {}
1633DECL_EXP PlugIn_Route::~PlugIn_Route(
void) {}
1635DECL_EXP PlugIn_Route_Ex::PlugIn_Route_Ex(
void) {}
1636DECL_EXP PlugIn_Route_Ex::~PlugIn_Route_Ex(
void) {}
1638DECL_EXP wxArrayString GetRouteGUIDArray(
void) {
return dummy_array_string; }
1639DECL_EXP wxArrayString GetTrackGUIDArray(
void) {
return dummy_array_string; }
1641DECL_EXP
bool GetSingleWaypointEx(wxString GUID,
1654DECL_EXP
bool AddPlugInRouteEx(
PlugIn_Route_Ex *proute,
bool b_permanent) {
1657DECL_EXP
bool UpdatePlugInRouteEx(
PlugIn_Route_Ex *proute) {
return true; }
1659DECL_EXP std::unique_ptr<PlugIn_Waypoint_Ex> GetWaypointEx_Plugin(
1663DECL_EXP std::unique_ptr<PlugIn_Route_Ex> GetRouteEx_Plugin(
const wxString &) {
1667DECL_EXP wxString GetActiveWaypointGUID(
void) {
return wxString(
""); }
1668DECL_EXP wxString GetActiveRouteGUID(
void) {
return wxString(
""); }