mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 18:42:28 +00:00
21 lines
369 B
C++
21 lines
369 B
C++
|
|
#ifndef STORM_QUEUE_CS_BASE_PRIORITY_HPP
|
||
|
|
#define STORM_QUEUE_CS_BASE_PRIORITY_HPP
|
||
|
|
|
||
|
|
#include <cstdint>
|
||
|
|
|
||
|
|
class CSBasePriorityQueue;
|
||
|
|
|
||
|
|
class CSBasePriority {
|
||
|
|
public:
|
||
|
|
// Member variables
|
||
|
|
CSBasePriorityQueue* m_queue;
|
||
|
|
uint32_t m_index;
|
||
|
|
|
||
|
|
// Member functions
|
||
|
|
virtual bool Compare(CSBasePriority* a) = 0;
|
||
|
|
void Unlink();
|
||
|
|
void Relink();
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|