]> Dogcows Code - chaz/openbox/blobdiff - otk/util.hh
set the log domain for each plugin properly
[chaz/openbox] / otk / util.hh
index 2664c1faa78d8674ac782d9887a4785d3d3450d4..22d45fba1d5d9b4fe8817089af28a5c1e9143ebc 100644 (file)
@@ -1,38 +1,21 @@
 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-#ifndef _BLACKBOX_UTIL_HH
-#define _BLACKBOX_UTIL_HH
+#ifndef __util_hh
+#define __util_hh
 
 extern "C" {
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
-
-#ifdef    TIME_WITH_SYS_TIME
-#  include <sys/time.h>
-#  include <time.h>
-#else // !TIME_WITH_SYS_TIME
-#  ifdef    HAVE_SYS_TIME_H
-#    include <sys/time.h>
-#  else // !HAVE_SYS_TIME_H
-#    include <time.h>
-#  endif // HAVE_SYS_TIME_H
-#endif // TIME_WITH_SYS_TIME
 }
 
-
 #include <string>
 #include <vector>
 
 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)
@@ -40,9 +23,10 @@ inline std::string itostring(unsigned int i)
 inline std::string itostring(int i)
   { return itostring((long) i); }
 
+void putenv(const std::string &data);
 
 std::string basename(const std::string& path);
 
 }
 
-#endif
+#endif // __util_hh
This page took 0.02056 seconds and 4 git commands to generate.