You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					21 lines
				
				286 B
			
		
		
			
		
	
	
					21 lines
				
				286 B
			| 
											4 years ago
										 | #ifndef KAITAI_STRUCT_H
 | ||
|  | #define KAITAI_STRUCT_H
 | ||
|  | 
 | ||
|  | #include <kaitai/kaitaistream.h>
 | ||
|  | 
 | ||
|  | namespace kaitai {
 | ||
|  | 
 | ||
|  | class kstruct {
 | ||
|  | public:
 | ||
|  |     kstruct(kstream *_io) { m__io = _io; }
 | ||
|  |     virtual ~kstruct() {}
 | ||
|  | protected:
 | ||
|  |     kstream *m__io;
 | ||
|  | public:
 | ||
|  |     kstream *_io() { return m__io; }
 | ||
|  | };
 | ||
|  | 
 | ||
|  | }
 | ||
|  | 
 | ||
|  | #endif
 |