mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-19 17:55:52 +01:00
20 lines
347 B
C
20 lines
347 B
C
|
#ifndef __GARBAGECOLLECT_H
|
||
|
#define __GARBAGECOLLECT_H
|
||
|
|
||
|
#include <api/syscb/callbacks/gccb.h>
|
||
|
|
||
|
class GarbageCollector : public GarbageCollectCallbackI {
|
||
|
public:
|
||
|
GarbageCollector();
|
||
|
virtual ~GarbageCollector();
|
||
|
|
||
|
virtual int gccb_onGarbageCollect();
|
||
|
|
||
|
private:
|
||
|
uint32_t last;
|
||
|
};
|
||
|
|
||
|
extern GarbageCollector *garbageCollector;
|
||
|
|
||
|
#endif
|