diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-12 21:17:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-12 21:17:26 +0000 |
| commit | 74061b4e2d33d7e2101c4edda26cfc2a1294f32b (patch) | |
| tree | c0bfe3b00472252f4cbf67c39bd82110f8a03175 /otk/property.hh | |
| parent | c03068ee3a2e981e31eeda583d10b9d572de92bd (diff) | |
use "userstring" for all user viewable strings
Diffstat (limited to 'otk/property.hh')
| -rw-r--r-- | otk/property.hh | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/otk/property.hh b/otk/property.hh index 7f4ae266..e942bfd2 100644 --- a/otk/property.hh +++ b/otk/property.hh @@ -14,8 +14,8 @@ extern "C" { } #include <vector> -#include <string> +#include "userstring.hh" #include "screeninfo.hh" namespace otk { @@ -175,9 +175,6 @@ private: int size) const; public: - //! A list of strings - typedef std::vector<std::string> StringVect; - //! Constructs a new Atom object /*! CAUTION: This constructor uses Display::display, so ensure that it is @@ -220,7 +217,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 userstring &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 @@ -231,7 +228,7 @@ public: @param strings A list of strings to set the property to */ void set(Window win, Atoms atom, StringType type, - const StringVect &strings) const; + const userstring::vector &strings) const; //! Gets the value of a property on a window /*! @@ -284,7 +281,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, userstring *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 @@ -303,7 +300,7 @@ public: type was successful; otherwise, false */ bool get(Window win, Atoms atom, StringType type, - unsigned long *nelements, StringVect *strings) const; + unsigned long *nelements, userstring::vector *strings) const; //! Removes a property from a window /*! |
