Enlightenment CVS committal Author : andreas Project : e17 Module : proto/eflpp
Dir : e17/proto/eflpp/src/ecore Modified Files: eflpp_ecore_x_window.cpp eflpp_ecore_x_window.h Log Message: DPMS =================================================================== RCS file: /cvs/e/e17/proto/eflpp/src/ecore/eflpp_ecore_x_window.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- eflpp_ecore_x_window.cpp 10 Aug 2008 20:58:10 -0000 1.2 +++ eflpp_ecore_x_window.cpp 13 Aug 2008 22:52:51 -0000 1.3 @@ -39,4 +39,14 @@ return ret; } +bool EcoreXWindow::getDPMSEnabled () +{ + return ecore_x_dpms_enabled_get (); +} + +void EcoreXWindow::setDPMSEnabled (bool enabled) +{ + ecore_x_dpms_enabled_set (enabled); +} + } // end namespace efl =================================================================== RCS file: /cvs/e/e17/proto/eflpp/src/ecore/eflpp_ecore_x_window.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- eflpp_ecore_x_window.h 10 Aug 2008 20:58:10 -0000 1.2 +++ eflpp_ecore_x_window.h 13 Aug 2008 22:52:51 -0000 1.3 @@ -40,6 +40,10 @@ //void getNetWMWindowTypeFetc (); bool getNetWMWindowType( EcoreXWindowType &outType ); + // TODO: not sure where to put DPMS and all other functions + static bool getDPMSEnabled (); + static void setDPMSEnabled (bool enabled); + protected: private: ------------------------------------------------------------------------- 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs