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:
Christian Semmler
2023-09-19 23:00:34 -04:00
committed by GitHub
parent 4bd67e4ae1
commit d145f914c4
9 changed files with 133 additions and 37 deletions

View File

@@ -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