glview_register_foreground_callback()

Register a callback to be fired whenever the app is put into the foreground.

Synopsis:

#include <glview/glview.h>
 
GLVIEW_API int glview_register_foreground_callback(foreground_callback foreground_callback)

Since:

1.0

Arguments:

foreground_callback

The callback to be fired on a foreground event. If this parameter is NULL then any previously set callback is disabled.

Library:

libglview (For the qcc command, use the -l glview option to link against this library)

Description:

Calling glview_register_foreground_callback() with a NULL foreground callback will disable any previously set callback from being fired on a foreground event.

Returns:

GLVIEW_SUCCESS

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus