On 8/22/07, Enlightenment CVS <[EMAIL PROTECTED]> wrote:
> Enlightenment CVS committal
>
> Author  : andreas
> Project : e17
> Module  : proto/eflpp
>
> Dir     : e17/proto/eflpp/examples/ecore/callbacks
>
>
> Modified Files:
>         main.cpp
>
>
> Log Message:
> - added GL and XRender backend support
> - changed example code to new API
>
> ===================================================================
> RCS file: /cvs/e/e17/proto/eflpp/examples/ecore/callbacks/main.cpp,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -3 -r1.3 -r1.4
> --- main.cpp    3 Aug 2007 06:38:00 -0000       1.3
> +++ main.cpp    22 Aug 2007 22:35:49 -0000      1.4
> @@ -24,7 +24,7 @@
>                                            alpha( 0 ), alphadirection( 1 ),
>                                            xaddfactor( 1 ), yaddfactor( 1 )
>  {
> -    mw = new efl::EcoreEvasWindow( WIDTH, HEIGHT );
> +    mw = new efl::EcoreEvasWindowSoftwareX11( WIDTH, HEIGHT );
>      evas = mw->canvas();


Sorry to bother you, I'm not even using c++ bindings yet, however
wouldn't be better to have namespaces, even nested to avoid ugly names
as EcoreEvasWindowSoftwareX11?

IMHO efl::ecore::evas::WindowSoftwareX11 is better, and u can simple
remove namespaces if desired.

In the python bindings I use namespaces extensively, like
ecore.evas.SoftwareX11.

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to