add missing public in leda toy kernels for traits; add deprecation macro

around LEDA traits classes
This commit is contained in:
Susan Hert 2002-10-30 13:18:50 +00:00
parent a82bffb7be
commit 46a8ecedd2
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
3.38 (30 Oct 2002)
- add missing public in LEDA toy kernels for traits
- add CGAL_NO_DEPRECATED_CODE macro around LEDA traits
3.37 (23 Oct 2002)
- deprecate LEDA traits class; should be replaced by LEDA rat kernel traits
CEP

View File

@ -27,6 +27,8 @@
#ifndef CGAL_CONVEX_HULL_LEDA_TRAITS_2_H
#define CGAL_CONVEX_HULL_LEDA_TRAITS_2_H
#ifndef CGAL_NO_DEPRECATED_CODE
#include <CGAL/basic.h>
#include <CGAL/leda_in_CGAL_2.h>
#include <CGAL/Kernel/function_objects.h>
@ -35,6 +37,7 @@ CGAL_BEGIN_NAMESPACE
class LEDA_kernel_2
{
public:
typedef leda_point Point_2;
typedef leda_segment Segment_2;
};
@ -78,5 +81,7 @@ typedef Convex_hull_leda_traits_2 convex_hull_leda_traits_2;
CGAL_END_NAMESPACE
#endif // CGAL_NO_DEPRECATED_CODE
#endif // CGAL_CONVEX_HULL_LEDA_TRAITS_2_H

View File

@ -26,6 +26,8 @@
#ifndef CGAL_CONVEX_HULL_RAT_LEDA_TRAITS_2_H
#define CGAL_CONVEX_HULL_RAT_LEDA_TRAITS_2_H
#ifndef CGAL_NO_DEPRECATED_CODE
#include <CGAL/basic.h>
#include <CGAL/rat_leda_in_CGAL_2.h>
#include <CGAL/Kernel/function_objects.h>
@ -34,6 +36,7 @@ CGAL_BEGIN_NAMESPACE
class LEDA_rat_kernel_2
{
public:
typedef leda_rat_point Point_2;
typedef leda_rat_segment Segment_2;
};
@ -77,5 +80,7 @@ typedef Convex_hull_rat_leda_traits_2 convex_hull_rat_leda_traits_2;
CGAL_END_NAMESPACE
#endif // CGAL_NO_DEPRECATED_CODE
#endif // CGAL_cONVEX_HULL_RAT_LEDA_TRAITS_2_H