mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
STL lists for stream classes (#307)
This commit is contained in:
27
LEGO1/mxstreamlist.h
Normal file
27
LEGO1/mxstreamlist.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef MXSTREAMLIST_H
|
||||
#define MXSTREAMLIST_H
|
||||
|
||||
#include "compat.h" // STL
|
||||
#include "mxdsaction.h"
|
||||
#include "mxdssubscriber.h"
|
||||
#include "mxnextactiondatastart.h"
|
||||
|
||||
template <class T>
|
||||
class MxStreamList : public list<T> {};
|
||||
|
||||
// SIZE 0xc
|
||||
class MxStreamListMxDSAction : public MxStreamList<MxDSAction*> {
|
||||
public:
|
||||
MxDSAction* Find(MxDSAction* p_action, MxBool p_delete);
|
||||
};
|
||||
|
||||
// SIZE 0xc
|
||||
class MxStreamListMxNextActionDataStart : public MxStreamList<MxNextActionDataStart*> {
|
||||
public:
|
||||
MxNextActionDataStart* Find(MxU32, MxS16);
|
||||
};
|
||||
|
||||
// SIZE 0xc
|
||||
class MxStreamListMxDSSubscriber : public MxStreamList<MxDSSubscriber*> {};
|
||||
|
||||
#endif // MXSTREAMLIST_H
|
||||
Reference in New Issue
Block a user