darling-cocotron/Security/SecAccess.m
2010-03-04 20:49:42 +00:00

27 lines
483 B
Objective-C

//
// SecAccess.m
// Security
//
// Created by Christopher Lloyd on 2/12/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import "SecAccess.h"
@implementation SecAccess
-initWithDescriptor:(CFStringRef)descriptor trustedList:(CFArrayRef)trustedList {
_descriptor=CFRetain(descriptor);
_trustedList=(CFArrayRef)CFRetain(trustedList);
return self;
}
-(void)dealloc {
CFRelease(_descriptor);
CFRelease(_trustedList);
[super dealloc];
}
@end