From 50c4c4b9ce488f2c7691ea26bf670b0abfc797cd Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 29 Mar 2009 14:10:09 +0200 Subject: change Hills::sort() interface --- src/Hill.H | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/Hill.H') diff --git a/src/Hill.H b/src/Hill.H index b4ced70..ac4917a 100644 --- a/src/Hill.H +++ b/src/Hill.H @@ -42,6 +42,7 @@ class Hills { public: typedef enum { + SORT_ALPHA, SORT_PHI, SORT_NAME, SORT_LABEL_Y @@ -56,10 +57,7 @@ class Hills { void add(Hill *m); void remove(const Hill *m); void add(Hills *h); - void sort_phi(); - void sort_name(); - void sort_label_y(); - void sort(); + void sort(SortType t); void clear(); void clobber(); int contains(const Hill *m) const; -- cgit v1.2.3