model_server/ui_qac/src/QC_ReportUI.cxx
////////////////////////////////////////////////////////////////////////////////
//
// UI's API (higher level that Access, lower than Callbacks)
//
////////////////////////////////////////////////////////////////////////////////
UI's API (higher level that Access, lower than Callbacks)
UI ' s API ( higher level that Access lower than Callbacks )
int QC_ReportUI::browseForFilename(void)
{
  Initialize(QC_ReportUI::browseForFilename(void));
  int retval = -1;
  if ( filebrowser )
    {
      retval = 1;
    }
  else
    {
      filebrowser = gtFileSelector::create(dialog, "selector", browse_OK_CB, this, browse_cancel_CB, this);
      filebrowser->title("Select Report Filename");
      filebrowser->manage();
      retval = 0;
    }
  return retval;
}
int QC_ReportUI :: browseForFilename ( void ) { Initialize ( QC_ReportUI :: browseForFilename ( void ) ) ; int retval = -1 ; if ( filebrowser ) { retval = 1 ; } else { filebrowser = gtFileSelector :: create ( dialog , " " , browse_OK_CB , this , browse_cancel_CB , this ) ; filebrowser -> title ( " " ) ; filebrowser -> manage ( ) ; retval = 0 ; } return retval ; }
UI's API (higher level that Access, lower than Callbacks)
UI ' s API ( higher level that Access lower than Callbacks )