model_server/api_ui/src/errorBrowser.h.cxx
// This function returns ready status for screen parameter of viewer.
// called from void errorBrowser_show_errors_from_apps ()
This function returns ready status for screen parameter of viewer.
called from void errorBrowser_show_errors_from_apps ()
This function returns ready status for screen parameter of viewer . called from void errorBrowser_show_errors_from_apps ()
static int errorBrowser_show_errors_from_app_ready()
{
    int retval = 0;
#ifndef NEW_UI 
    viewer* compilation_viewer = viewerShell::find_target_viewer();
    if(compilation_viewer){
	steScreen *scr = compilation_viewer->get_screen();
	if (scr)
	    retval = 1;
    }
#else
    fprintf(stderr,"errorBrowser_show_errors_from_app_ready() needs to be implemented\n");
#endif
    return retval;
}
static int errorBrowser_show_errors_from_app_ready ( ) { int retval = 0 ; #ifndef NEW_UI viewer * compilation_viewer = viewerShell :: find_target_viewer ( ) ; if ( compilation_viewer ) { steScreen * scr = compilation_viewer -> get_screen ( ) ; if ( scr ) retval = 1 ; } #else fprintf ( stderr , " \n " ) ; #endif return retval ; }
This function returns ready status for screen parameter of viewer.
This function returns ready status for screen parameter of viewer .