On Fri, Aug 22, 2008 at 7:05 PM, Massimiliano Calamelli
<[EMAIL PROTECTED]> wrote:
> 2008/8/22 Gustavo Sverzut Barbieri <[EMAIL PROTECTED]>:
>>
>> Looks good, but I'd use getopt and different parameters, something like this:
>>
>>     exchange_cli --theme=theme --request=author
>> or: excahgen_cli --request=author theme/target
>>
>> making --request lookup the parameter inside a list of actions, this
>> will make easier to extend.
>>
>
> Good point, i like getopt, i keep in mind.

getopt_long is easy to use, man page provides good examples.


>>> Here's a cut&paste for the API:
>> ...
>>> EAPI char *exchange_remote_theme_thumbnail_get(const char *theme_name);
>>> EAPI char *exchange_remote_theme_screenshot_get(const char *theme_name);
>>
>> does screenshot and thumbnail download the file or no?
>
> No, only provides the URL.
> I've to create separate functions for downloads.
> Hmmm, looking at function names, it isn't clear. Good question :)
> Better to rename in:
> EAPI char *exchange_remote_theme_thumbnail_url_get(const char *theme_name);
> EAPI char *exchange_remote_theme_screenshot_url_get(const char *theme_name);
>
> Sounds good?

yes!


> Thanks for your reply

thank you for your work and code.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to