Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-11-25 21:28:15 +0000
committerStijn Buys <ingar@osirion.org>2012-11-25 21:28:15 +0000
commitd4ee190ca1d37174da5692a3f391e12d46fe6ea5 (patch)
treec45c9002968f17fffe5bbc29a5e84dcca83bc234 /src/core/slots.h
parent0d9a69607e7538dc46e685ef8e18b5fa343b6241 (diff)
Cleaned up slots API.
Diffstat (limited to 'src/core/slots.h')
-rw-r--r--src/core/slots.h6
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();
}