source file of the Flower Library
- (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#ifndef PATH_HH
class File_path : private Array<String>
{
public:
- /// locate a file in the search path
String find (String nm) const;
- /// add to end of path.
Array<String>::push;
String str ()const;
- void add (String str);
+ bool try_add (String str);
+ void add (String);
void parse_path (String);
};