2010-09-16 17:49:35 +00:00
|
|
|
//
|
|
|
|
// ContentReader.h
|
|
|
|
// XNI
|
|
|
|
//
|
|
|
|
// Created by Matej Jan on 10.9.10.
|
|
|
|
// Copyright 2010 Retronator. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
#import "Retronator.Xni.Framework.Content.classes.h"
|
|
|
|
|
|
|
|
@interface ContentReader : NSObject {
|
|
|
|
ContentManager *contentManager;
|
2010-11-30 23:26:03 +00:00
|
|
|
NSMutableArray *contentStack;
|
|
|
|
|
|
|
|
CFMutableDictionaryRef sharedResources;
|
2010-09-16 17:49:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
- (id) initWithContentManager:(ContentManager*)theContentManager Content:(id)theContent;
|
|
|
|
|
|
|
|
@property (nonatomic, readonly) ContentManager *contentManager;
|
|
|
|
@property (nonatomic, readonly) id content;
|
|
|
|
|
2010-11-30 23:26:03 +00:00
|
|
|
- (id) readObjectFrom:(id)source;
|
|
|
|
- (id) readSharedResourceFrom:(id)source;
|
|
|
|
|
2010-09-16 17:49:35 +00:00
|
|
|
@end
|