From 29d640fdc2d7d3f2b1a8608daae1799ee947167e Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Wed, 6 Nov 2002 14:02:50 +0000 Subject: moved em to otk --- src/util.hh | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 src/util.hh (limited to 'src/util.hh') diff --git a/src/util.hh b/src/util.hh deleted file mode 100644 index 303d2ffd..00000000 --- a/src/util.hh +++ /dev/null @@ -1,49 +0,0 @@ -// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef _BLACKBOX_UTIL_HH -#define _BLACKBOX_UTIL_HH - -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 -#include - -namespace ob { - -/* 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) - { return itostring((unsigned long) i); } -inline std::string itostring(int i) - { return itostring((long) i); } - -} - -#ifndef HAVE_BASENAME -std::string basename(const std::string& path); -#endif - -#endif -- cgit v1.2.3