2007-10-11 23:11:58 +00:00
|
|
|
//
|
|
|
|
// GameFile.h
|
|
|
|
// Cog
|
|
|
|
//
|
|
|
|
// Created by Vincent Spader on 5/29/06.
|
|
|
|
// Copyright 2006 Vincent Spader. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
#import <GME/gme.h>
|
|
|
|
|
|
|
|
#import "Plugin.h"
|
|
|
|
|
2013-10-04 15:14:47 +00:00
|
|
|
extern gme_err_t readCallback( void* data, void* out, long count );
|
|
|
|
|
2007-10-11 23:11:58 +00:00
|
|
|
@interface GameDecoder : NSObject <CogDecoder> {
|
|
|
|
Music_Emu* emu;
|
|
|
|
id<CogSource> source;
|
|
|
|
long length;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void)setSource:(id<CogSource>)s;
|
|
|
|
- (id<CogSource>)source;
|
|
|
|
|
|
|
|
@end
|