Opened 13 years ago

Closed 13 years ago

#1585 closed enhancement (fixed)

Export classes in cpl_vsi_private.h from GDAL library

Reported by: gregboone Owned by: warmerdam
Priority: normal Milestone: 1.4.2
Component: GDAL_Raster Version: 1.4.1
Severity: normal Keywords: VSI
Cc: gregboone

Description

The team maintaining the OSGeo FDO WMS Provider would like to be able to use the classes in cpl_vsi_private.h (as currently defined) as an implementation mechanism for the WMS Provider. It is our request that these classes be exported from the GDAL dll.

Change History (1)

comment:1 Changed 13 years ago by warmerdam

Resolution: fixed
Status: newclosed

Greg,

I have added the CPL_DLL attribute to the three classes in cpl_vsi_private.h so they will be exported from the DLL on windows. I have also renamed cpl_vsi_private.h to cpl_vsi_virtual.h and adjusted the internal docs a bit to reflect that these classes are not considered private, though the may be "fragile".

This change has been applied in trunk and the 1.4 branch so it should appear in 1.4.2.

If you need to incorporate this change in your local GDAL copy before upgrading to 1.4.2 please also incorporate the renaming of cpl_vsi_private.h to cpl_vsi_virtual.h.

See r11305

Note: See TracTickets for help on using tickets.