mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement/match MxVideoManager::Tickle (#128)
* Implement/match MxPresenter::StartAction * Update mxpoint32.h * Implement/match MxVideoManager::Tickle * Update mxlist.h * Update mxpresenter.cpp
This commit is contained in:

committed by
GitHub

parent
4bd67e4ae1
commit
d145f914c4
@@ -59,6 +59,7 @@ public:
|
||||
virtual ~MxList();
|
||||
|
||||
void Append(T*);
|
||||
MxU32 GetCount() { return m_count; }
|
||||
|
||||
friend class MxListCursor<T>;
|
||||
|
||||
@@ -83,6 +84,8 @@ public:
|
||||
MxBool Find(T *p_obj);
|
||||
void Detach();
|
||||
MxBool Next(T*& p_obj);
|
||||
void SetValue(T *p_obj);
|
||||
void Head() { m_match = m_list->m_first; }
|
||||
void Reset() { m_match = NULL; }
|
||||
|
||||
private:
|
||||
@@ -193,4 +196,11 @@ inline MxBool MxListCursor<T>::Next(T*& p_obj)
|
||||
return m_match != NULL;
|
||||
}
|
||||
|
||||
#endif // MXLIST_H
|
||||
template <class T>
|
||||
inline void MxListCursor<T>::SetValue(T *p_obj)
|
||||
{
|
||||
if (m_match)
|
||||
m_match->m_obj = p_obj;
|
||||
}
|
||||
|
||||
#endif // MXLIST_H
|
||||
|
Reference in New Issue
Block a user