On Sat, Oct 2, 2010 at 8:34 AM, Carsten Haitzler <[email protected]> wrote: > On Wed, 29 Sep 2010 05:53:04 -0300 Gustavo Sverzut Barbieri > <[email protected]> said: > > the attached is what i was thinking of
Did you actually try my code? It does exactly the same as you want, but does not rely on ugly enumerates and thus allows extensions like themes and so on. Okay, the names are different, you call it "seed" and "argv0" while I call them "populate_from" and "namespace". >From your idea I just lack the "seed_envs", which I said in my initial mail. My code even did auto-detection of posix compliant file hierarchy by checking if one's symbol/argv0 is in one of bin/ share/ lib/ libexec/ ... and in that case registers the root (ie: /usr/bin/app register /usr that in turn can find out include/, share/ ...) So yeah, if you wish I can rename to seed and add couple of #define ECORE_RESOURCE_LIB "lib", but i guess it's not required. I also clear distinction of app and system, as I guess it is better than trying to mix them all, but I could do ecore_app_resource_* fallback to ecore_sys_resource_* if it did not find. Anyway, I guess you just have something in your mind already and instead of trying to understand what you did you just want me to exactly what you wondered even if it is not the best solution. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
