//
//  MCCAbstractRemoteObject.h
//  MCCloud
//
//  Created by Thomas Bartelmess on 25.03.10.
//  Copyright 2010 Marketcircle. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "MCCRemoteObjectDefines.h"
#import "MCCRemoteObjectDelegateProtocol.h"

@class MCAuthRestRequest;

@interface MCCAbstractRemoteObject : NSObject {
@private NSDictionary * _remoteObjectDefinition;
	id <MCCRemoteObjectDelegate> delegate;
	BOOL dirty;
}



- (BOOL)cacheDefinition;

- (void)pull;
- (void)push;
- (MCAuthRestRequest *)request; 
@property (assign) id <MCCRemoteObjectDelegate> delegate;
@property (readwrite) BOOL dirty;
@property (retain) NSDictionary* remoteObjectDefinition;
@end
