//
//  MCTrackedDevice.h
//  MCServerSupport
//
//  Created by Brent Gulanowski on 26/05/08.
//  Copyright 2008 Marketcircle, Inc. All rights reserved.
//

#import <CoreData/NSManagedObject.h>


enum {
	kMCTrackedClientTypeUndefined,
	kMCTrackedClientTypeOffline,
	kMCTrackedClientTypeTouch,
	kMCTrackedClientTypeMirror
};

typedef int MCTrackedClientType;


extern NSString *kMCETEntityClient;

@interface MCTrackedClient : NSManagedObject {
	 id userData;
}

- (BOOL)active;
- (void)setActive:(BOOL)makeActive;

- (NSString *)displayName;

- (id)userData;
- (void)setUserData:(id)newUserData;

- (void)setTypeCode:(MCTrackedClientType)aType;
- (MCTrackedClientType)typeCode;

- (NSString *)typeString;

@end
