mirror of
				https://github.com/thunderbrewhq/thunderbrew
				synced 2025-10-31 08:16:03 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			642 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			642 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef ASYNC_C_ASYNC_OBJECT_HPP
 | |
| #define ASYNC_C_ASYNC_OBJECT_HPP
 | |
| 
 | |
| #include <storm/List.hpp>
 | |
| 
 | |
| class SFile;
 | |
| class CAsyncQueue;
 | |
| 
 | |
| class CAsyncObject {
 | |
|     public:
 | |
|         // Member variables
 | |
|         SFile* file;
 | |
|         void* buffer;
 | |
|         uint32_t size;
 | |
|         void* userArg;
 | |
|         void (*userPostloadCallback)(void*);
 | |
|         void (*userFailedCallback)(void*);
 | |
|         CAsyncQueue* queue;
 | |
|         void* ptr1C;
 | |
|         uint8_t priority;
 | |
|         uint8_t isProcessed;
 | |
|         uint8_t isRead;
 | |
|         uint8_t isCurrent;
 | |
|         uint8_t char24;
 | |
|         uint8_t char25;
 | |
|         uint8_t padding[2];
 | |
|         TSLink<CAsyncObject> link;
 | |
| };
 | |
| 
 | |
| #endif
 | 
