50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
dlclose(handle);
@throw [OFInitializationFailedException newWithClass: self];
}
plugin->handle = handle;
return [plugin autorelease];
}
- (void)dealloc
{
dlclose(handle);
[super dealloc];
}
@end
|
>
>
>
>
>
>
>
>
>
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
dlclose(handle);
@throw [OFInitializationFailedException newWithClass: self];
}
plugin->handle = handle;
return [plugin autorelease];
}
- init
{
if (isa == [OFPlugin class])
@throw [OFNotImplementedException newWithClass: isa
selector: _cmd];
return [super init];
}
- (void)dealloc
{
dlclose(handle);
[super dealloc];
}
@end
|