[Adium-devl] Importer API
Ofri Wolfus
ofri.wolfus at gmail.com
Tue Apr 10 21:17:01 UTC 2007
+1 for Brian's approach :)
- Ofri
- - - - - - - - - - - - - - - - - - -
http://www.dpompa.com
- - - - - - - - - - - - - - - - - - -
On 11/04/2007, at 00:06, disposable at infinitenexus.com wrote:
>
> 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
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070411/afa4aa42/attachment-0001.html>
More information about the devel
mailing list