diff options
author | Jeff Brown <jeffbrown@google.com> | 2010-12-23 17:50:18 -0800 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2010-12-29 13:19:53 -0800 |
commit | 83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4 (patch) | |
tree | c8bc2824e0d2e2b353b3d16ecf5836ab8fd9e67c /include/utils | |
parent | dd830c21149c336139b28560c0e6fba9f3d0e0fc (diff) | |
download | frameworks_base-83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4.zip frameworks_base-83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4.tar.gz frameworks_base-83c09685f2e62bc3cf7e71bc61d903f4b9ccaeb4.tar.bz2 |
Add initial support for cursor-based pointing devices.
Some parts stubbed out but you can plug in a mouse and move
a green cursor around to interact with the UI.
Change-Id: I80d597a7f11d3bd92041890f74b3c77326975e6e
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/PropertyMap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/utils/PropertyMap.h b/include/utils/PropertyMap.h index a54f819..a9e674f 100644 --- a/include/utils/PropertyMap.h +++ b/include/utils/PropertyMap.h @@ -71,6 +71,12 @@ public: bool tryGetProperty(const String8& key, int32_t& outValue) const; bool tryGetProperty(const String8& key, float& outValue) const; + /* Adds all values from the specified property map. */ + void addAll(const PropertyMap* map); + + /* Gets the underlying property map. */ + inline const KeyedVector<String8, String8>& getProperties() const { return mProperties; } + /* Loads a property map from a file. */ static status_t load(const String8& filename, PropertyMap** outMap); |