diff options
author | Stijn Buys <ingar@osirion.org> | 2012-11-25 21:28:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-11-25 21:28:15 +0000 |
commit | d4ee190ca1d37174da5692a3f391e12d46fe6ea5 (patch) | |
tree | c45c9002968f17fffe5bbc29a5e84dcca83bc234 /src/core/slots.h | |
parent | 0d9a69607e7538dc46e685ef8e18b5fa343b6241 (diff) |
Cleaned up slots API.
Diffstat (limited to 'src/core/slots.h')
-rw-r--r-- | src/core/slots.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/slots.h b/src/core/slots.h index 6bb09f1..aefffb7 100644 --- a/src/core/slots.h +++ b/src/core/slots.h @@ -37,6 +37,12 @@ public: * */ void clear(); + /** + * @brief found a mounted item + * */ + Slot *find(Item *item); + + inline iterator begin() { return slots_container.begin(); } |