]>
Dogcows Code - chaz/openbox/blob - otk/util.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
9 #ifdef TIME_WITH_SYS_TIME
10 # include <sys/time.h>
12 #else // !TIME_WITH_SYS_TIME
13 # ifdef HAVE_SYS_TIME_H
14 # include <sys/time.h>
15 # else // !HAVE_SYS_TIME_H
17 # endif // HAVE_SYS_TIME_H
18 #endif // TIME_WITH_SYS_TIME
26 /* XXX: this needs autoconf help */
27 const unsigned int BSENTINEL
= 65535;
29 std::string
expandTilde(const std::string
& s
);
31 void bexec(const std::string
& command
, const std::string
& displaystring
);
33 std::string
textPropertyToString(Display
*display
, XTextProperty
& text_prop
);
35 std::string
itostring(unsigned long i
);
36 std::string
itostring(long i
);
37 inline std::string
itostring(unsigned int i
)
38 { return itostring((unsigned long) i
); }
39 inline std::string
itostring(int i
)
40 { return itostring((long) i
); }
42 void putenv(const std::string
&data
);
44 std::string
basename(const std::string
& path
);
This page took 0.035486 seconds and 4 git commands to generate.