Ticket #1585 (closed enhancement: fixed)

Opened 1 year ago

Last modified 1 year ago

Export classes in cpl_vsi_private.h from GDAL library

Reported by: gregboone Assigned to: 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

04/20/07 12:34:51 changed by warmerdam

  • status changed from new to closed.
  • resolution set to fixed.

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