X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Futil.hh;h=22d45fba1d5d9b4fe8817089af28a5c1e9143ebc;hb=3147507622de5ab771c99a4bb636f55344f6cbd7;hp=91c247a684a7d8b6abbdf3aebce6947a6db6bebf;hpb=8f8acc24933830d4f5784616b9b0c5896bde0b93;p=chaz%2Fopenbox diff --git a/otk/util.hh b/otk/util.hh index 91c247a6..22d45fba 100644 --- a/otk/util.hh +++ b/otk/util.hh @@ -5,17 +5,6 @@ extern "C" { #include #include - -#ifdef TIME_WITH_SYS_TIME -# include -# include -#else // !TIME_WITH_SYS_TIME -# ifdef HAVE_SYS_TIME_H -# include -# else // !HAVE_SYS_TIME_H -# include -# endif // HAVE_SYS_TIME_H -#endif // TIME_WITH_SYS_TIME } #include @@ -23,15 +12,10 @@ extern "C" { namespace otk { -/* XXX: this needs autoconf help */ -const unsigned int BSENTINEL = 65535; - std::string expandTilde(const std::string& s); void bexec(const std::string& command, const std::string& displaystring); -std::string textPropertyToString(Display *display, XTextProperty& text_prop); - std::string itostring(unsigned long i); std::string itostring(long i); inline std::string itostring(unsigned int i)