diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-13 03:51:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-13 03:51:48 +0000 |
| commit | 4947902d269213edee40f3f31f97721fa0dd3877 (patch) | |
| tree | d8e2af6c768a7e62ebdc7ff55029d6f25ca88acb /otk/property.hh | |
| parent | 2aff07a250930db7e0eb69dd6cd776333fcb8b9a (diff) | |
more conversion to ustring. added more members
Diffstat (limited to 'otk/property.hh')
| -rw-r--r-- | otk/property.hh | 12 |
1 files changed, 6 insertions, 6 deletions
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 <X11/Xlib.h> #include <X11/Xatom.h> @@ -14,9 +17,6 @@ extern "C" { } #include <vector> -#include <string> - -#include "screeninfo.hh" namespace otk { @@ -176,7 +176,7 @@ private: public: //! A list of strings - typedef std::vector<std::string> StringVect; + typedef std::vector<ustring> 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 |
