summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/frontend.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-12-07 23:16:19 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-12-07 23:16:19 +0000
commit0c0b00ab8086c07600680d41e2f8feefe0f8f150 (patch)
tree0da2100a6944b5efed0aa02d950d98a071bec0cc /mdk-stage1/frontend.h
parent71d6a65fa155d25fc325d6a9b83a746f5845922e (diff)
downloaddrakx-0c0b00ab8086c07600680d41e2f8feefe0f8f150.tar
drakx-0c0b00ab8086c07600680d41e2f8feefe0f8f150.tar.gz
drakx-0c0b00ab8086c07600680d41e2f8feefe0f8f150.tar.bz2
drakx-0c0b00ab8086c07600680d41e2f8feefe0f8f150.tar.xz
drakx-0c0b00ab8086c07600680d41e2f8feefe0f8f150.zip
first draft can detect your cdrom drives
soon will launch the stage2
Diffstat (limited to 'mdk-stage1/frontend.h')
-rw-r--r--mdk-stage1/frontend.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/mdk-stage1/frontend.h b/mdk-stage1/frontend.h
new file mode 100644
index 000000000..27b858a51
--- /dev/null
+++ b/mdk-stage1/frontend.h
@@ -0,0 +1,34 @@
+/*
+ * Guillaume Cottenceau (gc@mandrakesoft.com)
+ *
+ * Copyright 2000 MandrakeSoft
+ *
+ * This software may be freely redistributed under the terms of the GNU
+ * public license.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ */
+
+/*
+ * Each different frontend must implement all functions defined here
+ */
+
+
+#ifndef _FRONTEND_H_
+#define _FRONTEND_H_
+
+#include "stage1.h"
+
+void init_frontend(void);
+void finish_frontend(void);
+void error_message(char *msg);
+void wait_message(char *msg, ...);
+void remove_wait_message(void);
+
+enum return_type ask_from_list(char *msg, char ** elems, char ** choice);
+enum return_type ask_from_list_comments(char *msg, char ** elems, char ** elems_comments, char ** choice);
+
+#endif