Sindbad~EG File Manager
// Section 1, Dialogs presented to user
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "globals.h"
#include "graphstr.h"
#include "mpdoc.h"
#include "grapher.h"
#include "cgraph.h"
#include "checkarg.h"
#include "getarg.h"
#include "progress.h"
#include "lang.h" // ENGLISH
#include "display1.h"
#include "preferences.h"
#include "bigrect.h"
#include "lterm.h"
#include "stubs.h"
/* the headers that contain the following three are full of Windows stuff */
void loop_warning(void);
/*___________________________________*/
void report_message(const char *title, const char *message)
/* Tell user something */
{ assert(0);
return;
}
/*___________________________________*/
int ask_yesno(const char *title, const char *message)
/* Ask user something, return 1 for yes */
{ assert(0);
return 1;
}
/*___________________________________*/
int yesno_box(char *prompt)
/* Present a string and let user click Yes or No */
/* return 1 for yes, 0 for no */
{
assert(0);
return 1;
}
/*___________________________________*/
int get_double(char *prompt, unsigned long long hwnd,double *ans)
/* Ask user for a double, using the specified prompt.
Return 0 for success, 1 for user cancelled
*/
{
assert(0);
*ans = 3.14;
return 0;
}
/*___________________________________*/
int get_var_from_user(term t, const char *prompt, unsigned long long hwnd, int *index)
/* Offer user a listbox of some variables; if they choose one put its
index in *index, and return 0. Return 1 if they cancel out.
*/
{ assert(0);
*index = 0;
return 0;
}
/*___________________________________*/
int get_vars_from_user(const char *prompt, int index, unsigned long long hwnd, term *tlist)
{
assert(0);
return 0;
}
/*___________________________________*/
void get_var_nofail(term t, const char *prompt, unsigned long long hwnd, int *index)
{ assert(0);
return;
}
/*__________________________________*/
void report_err(const char *message)
/* Report an error to the programmer */
{
printf("%s", message); // for now, eventually to a log file
return;
}
/*___________________________________*/
int autotesting(void)
/* return 1 if autotesting is turned on, 0 if not */
{ return 0;
}
/*___________________________________*/
void TestTermSelection(operation op, int eigen, int problemtype)
{ return;
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists