source: NonGTP/FLTK/include/FL/filename.H @ 773

Revision 773, 646 bytes checked in by gumbau, 19 years ago (diff)

FLTK imported to SVN repository to be linked agains the GeoTool? application

RevLine 
[773]1#ifndef fl_filename_H
2#define fl_filename_H
3
4#include <fltk/filename.h>
5#include <string.h>
6
7#define fl_filename_name        filename_name
8#define fl_filename_ext         filename_ext
9#define fl_filename_match       filename_match
10#define fl_filename_isdir       filename_isdir
11#define fl_filename_list        filename_list
12
13inline char *fl_filename_setext(char * name, const char *ext) {
14  strcpy(filename_ext(name), ext ? ext : "");
15  return name;
16}
17#define FL_PATH_MAX PATH_MAX // all buffers are assummed to be at least this long
18FL_API bool fl_filename_expand(char *, const char *from);
19FL_API bool fl_filename_absolute(char *, const char *from, const char* pwd=0);
20
21#endif
Note: See TracBrowser for help on using the repository browser.