Instead of hardcoding OMX component names in our code, support

a config file instead.

Change-Id: I5835903ab9f1c4a22ccc605ca99ed966767adf57
This commit is contained in:
Andreas Huber 2012-02-29 15:47:17 -08:00
parent 7be71a8806
commit bc48ce68e6

View File

@ -186,8 +186,8 @@ public:
inline const_iterator end() const { return array() + size(); } inline const_iterator end() const { return array() + size(); }
inline void reserve(size_t n) { setCapacity(n); } inline void reserve(size_t n) { setCapacity(n); }
inline bool empty() const{ return isEmpty(); } inline bool empty() const{ return isEmpty(); }
inline void push_back(const TYPE& item) { insertAt(item, size()); } inline void push_back(const TYPE& item) { insertAt(item, size(), 1); }
inline void push_front(const TYPE& item) { insertAt(item, 0); } inline void push_front(const TYPE& item) { insertAt(item, 0, 1); }
inline iterator erase(iterator pos) { inline iterator erase(iterator pos) {
return begin() + removeItemsAt(pos-array()); return begin() + removeItemsAt(pos-array());
} }