]>
cygwin.com Git - cygwin-apps/setup.git/blob - category.cc
2 * Copyright (c) 2001, Robert Collins.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Robert Collins <rbtcollins@hotmail.com>
16 /* categories for packages */
25 Category::Category ():next (0), name (), key (), packages (0)
29 Category::Category (String
const &categoryname
):
31 name (categoryname
), key(categoryname
),
37 Categorycmp (Category
const & a
, Category
const & b
)
39 return a
.name
.casecompare (b
.name
);
43 Categorycmp (Category
& a
, Category
& b
)
45 return a
.name
.casecompare (b
.name
);
This page took 0.035662 seconds and 5 git commands to generate.