Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Util.h

00001 /*
00002  * $Id: Fl_Util.h,v 1.11 2003/04/20 05:20:05 parshin Exp $
00003  *
00004  * Extended Fast Light Toolkit (EFLTK)
00005  * Copyright (C) 2002-2003 by EDE-Team
00006  * WWW: http://www.sourceforge.net/projects/ede
00007  *
00008  * Fast Light Toolkit (FLTK)
00009  * Copyright (C) 1998-2003 by Bill Spitzak and others.
00010  * WWW: http://www.fltk.org
00011  *
00012  * This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00013  * version 2. See COPYING for details.
00014  *
00015  * Author : Mikko Lahteenmaki
00016  * Email  : mikko@fltk.net
00017  *
00018  * Please report all bugs and problems to "efltk-bugs@fltk.net"
00019  *
00020  */
00021 
00022 #ifndef _FL_UTIL_H_
00023 #define _FL_UTIL_H_
00024 
00025 #include "Enumerations.h"
00026 #include "Fl_Flags.h"
00027 #include "Fl_String.h"
00028 
00029 #include "Fl_Rect.h"
00030 #include "Fl_Point.h"
00031 #include "Fl_Size.h"
00032 
00033 // Include for compatibility
00034 #include "filename.h"
00035 
00037 extern FL_API char *fl_trimleft(char *string);
00038 
00040 extern FL_API char *fl_trimright(char *string);
00041 
00043 #define fl_trim(string) fl_trimright(fl_trimleft(string))
00044 
00046 extern FL_API char *fl_tolower(char *string);
00047 
00049 extern FL_API char *fl_toupper(char *string);
00050 
00052 extern FL_API char *fl_strdup_printf(char *s1, ...);
00053 
00055 extern FL_API char** fl_split(const char *string, const char *delimiter, int max_tokens);
00056 
00058 extern FL_API int fl_start_child_process(char *cmd);
00059 
00061 extern FL_API void fl_freev(char **str_array);
00062 
00064 extern FL_API const char *fl_cut_line(const char *str, int maxwidth);
00065 
00067 extern FL_API const char *fl_cut_multiline(const char *str, int maxwidth);
00068 
00069 #endif

Generated on Thu Jul 31 15:33:45 2003 for eFLTK by doxygen1.2.15