Files
ss/include/f/f_list_nd.h
T
2025-09-16 22:32:07 -04:00

32 lines
622 B
C++

#ifndef F_LIST_NODE_H
#define F_LIST_NODE_H
// This file was ported from
// https://github.com/NSMBW-Community/NSMBW-Decomp/blob/master/include/dol/framework/f_list_nd.hpp
#include "c/c_list.h"
#include "common.h"
class fBase_c;
class fLiNdBa_c : public cListNd_c {
public:
fLiNdBa_c(fBase_c *owner) : p_owner(owner) {}
~fLiNdBa_c() {}
inline fLiNdBa_c *getPrev() const {
return (fLiNdBa_c *)cListNd_c::getPrev();
}
inline fLiNdBa_c *getNext() const {
return (fLiNdBa_c *)cListNd_c::getNext();
}
void link(fBase_c *);
void unlink();
fBase_c *p_owner;
};
#endif