1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
/*
* gretl -- Gnu Regression, Econometrics and Time-series Library
* Copyright (C) 2001 Allin Cottrell and Riccardo "Jack" Lucchetti
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* datafiles.h for gretl */
#ifndef DATAFILES_H
#define DATAFILES_H
enum {
VIEW_FN_PKG_INFO,
VIEW_FN_PKG_CODE,
VIEW_FN_PKG_SAMPLE,
DELETE_FN_PKG,
CALL_FN_PKG,
MENU_ADD_FN_PKG,
MENU_REMOVE_FN_PKG,
VIEW_PKG_RESOURCES,
VIEW_PKG_DOC
};
#define HELP_WIDTH 80
void browser_open_data (GtkWidget *w, gpointer data);
void browser_open_ps (GtkWidget *w, gpointer data);
void browser_call_func (GtkWidget *w, gpointer data);
void destroy_file_collections (void);
void show_files (GtkAction *action, gpointer p);
void display_files (int role, const gchar *path);
void show_native_dbs (void);
gint populate_filelist (windata_t *fdata, gpointer p);
char *strip_extension (char *s);
char *maybe_ellipsize_string (char *s, int maxlen);
windata_t *display_function_package_data (const char *pkgname,
const char *path,
int role);
void maybe_update_gfn_browser (const char *pkgname,
const char *version,
const char *date,
const char *author,
const char *descrip,
const char *fname,
int uses_subdir,
int pdfdoc);
void maybe_update_pkg_registry_window (const char *pkgname,
int code);
void set_alternate_gfn_dir (windata_t *vwin, char *path);
gchar *gfn_browser_get_alt_path (void);
void start_new_function_package (GtkWidget *w, gpointer data);
windata_t *get_local_viewer (int remote_role);
void listbox_select_first (windata_t *vwin);
#endif /* DATAFILES_H */
|