allowing dependent projects to adapt.
# define SG_UNIX
#endif
+#if defined( __GNUC__ )
+# define DEPRECATED __attribute__ ((deprecated))
+#else
+# define DEPRECATED
+#endif
+
//
// No user modifiable definitions beyond here.
//
return lstTmp;
}
+/** Deprecated method. To be removed after the next release... */
+void SGTime::update( double lon_rad, double lat_rad, time_t ct, long int warp )
+{
+ const SGGeod& location = SGGeod::fromRad(lon_rad, lat_rad);
+ update(location, ct, warp);
+}
// Update the time related variables
void SGTime::update( const SGGeod& location, time_t ct, long int warp )
* allows us to advance or rewind "time" if we choose to. */
void update( const SGGeod& location, time_t ct, long int warp );
+ /** Deprecated method. To be removed after the next release... */
+ void update( double lon_rad, double lat_rad, time_t ct, long int warp ) DEPRECATED;
+
/**
* Given lon/lat, update timezone information and local_offset
* The updateLocal() method is intended to be called less