X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fproperty.hh;h=9681b9c311be125c2568c6a16a7175c95ce03d8e;hb=4947902d269213edee40f3f31f97721fa0dd3877;hp=7f4ae266f9691b2834ccc01d331d1d00297e17bf;hpb=bc99e6a420c04b4607bffc90e528d9572649f95f;p=chaz%2Fopenbox diff --git a/otk/property.hh b/otk/property.hh index 7f4ae266..9681b9c3 100644 --- a/otk/property.hh +++ b/otk/property.hh @@ -6,6 +6,9 @@ @brief Provides access to window properties */ +#include "ustring.hh" +#include "screeninfo.hh" + extern "C" { #include #include @@ -14,9 +17,6 @@ extern "C" { } #include -#include - -#include "screeninfo.hh" namespace otk { @@ -176,7 +176,7 @@ private: public: //! A list of strings - typedef std::vector StringVect; + typedef std::vector StringVect; //! Constructs a new Atom object /*! @@ -220,7 +220,7 @@ public: @param value The string to set the property to */ void set(Window win, Atoms atom, StringType type, - const std::string &value) const; + const ustring &value) const; //! Sets a string-array property on a window to a new value /*! @param win The window id of the window on which to set the property's value @@ -284,7 +284,7 @@ public: @return true if retrieval of the specified property with the specified type was successful; otherwise, false */ - bool get(Window win, Atoms atom, StringType type, std::string *value) const; + bool get(Window win, Atoms atom, StringType type, ustring *value) const; //! Gets strings from the value of a property on a window /*! @param win The window id of the window to get the property value from