[Adium-devl] Importer API

disposable at infinitenexus.com disposable at infinitenexus.com
Tue Apr 10 21:06:48 UTC 2007


On Apr 10, 2007, at 2:18 PM, Peter Hosey wrote:

> On Apr 10, 2007, at 11:59:59, Graham Booker wrote:
>> //These return false if they failed for some reason
>> - (BOOL)importAccounts;
>> - (BOOL)importStatus;
>> //Note, the log import will take place in a thread.
>> - (BOOL)importLogs;
>
> I suggest returning NSError instead.
>

I'd say this would be even better as it matches patterns (at least in  
my experience):

  -(BOOL)importAccounts:(NSError **)err;

< / pedantic >

- brian 'bgannin' ganninger


>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com





More information about the devel mailing list