Add convenience method for accessing the underlying value store.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43154 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2011-11-03 10:40:40 +00:00
parent 5950ebf682
commit 548716773f
2 changed files with 9 additions and 0 deletions

View File

@ -112,6 +112,13 @@ GUITeamUISettings::Value(const char* settingID, BVariant &value) const
}
const BMessage&
GUITeamUISettings::Values() const
{
return fValues;
}
GUITeamUISettings&
GUITeamUISettings::operator=(const GUITeamUISettings& other)
{

View File

@ -35,6 +35,8 @@ public:
status_t Value(const char* settingID,
BVariant& value) const;
const BMessage& Values() const;
GUITeamUISettings& operator=(const GUITeamUISettings& other);
// throws std::bad_alloc