aboutsummaryrefslogtreecommitdiff
path: root/SrcUnix/espws-2.0/testhelp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'SrcUnix/espws-2.0/testhelp.cxx')
-rw-r--r--SrcUnix/espws-2.0/testhelp.cxx66
1 files changed, 66 insertions, 0 deletions
diff --git a/SrcUnix/espws-2.0/testhelp.cxx b/SrcUnix/espws-2.0/testhelp.cxx
new file mode 100644
index 0000000..ed0ff35
--- /dev/null
+++ b/SrcUnix/espws-2.0/testhelp.cxx
@@ -0,0 +1,66 @@
+//
+// "$Id: testhelp.cxx,v 1.3 2000/01/04 13:45:56 mike Exp $"
+//
+// Help test program.
+//
+// Copyright 1997-2000 by Easy Software Products.
+//
+// These coded instructions, statements, and computer programs are the
+// property of Easy Software Products and are protected by Federal
+// copyright law. Distribution and use rights are outblockd in the file
+// "COPYING" which should have been included with this file. If this
+// file is missing or damaged please contact Easy Software Products
+// at:
+//
+// Attn: ESP Licensing Information
+// Easy Software Products
+// 44141 Airport View Drive, Suite 204
+// Hollywood, Maryland 20636-3111 USA
+//
+// Voice: (301) 373-9600
+// EMail: info@easysw.com
+// WWW: http://www.easysw.com
+//
+// Contents:
+//
+// main() - Display the help GUI...
+//
+
+//
+// Include necessary headers...
+//
+
+#include "HelpDialog.h"
+
+
+//
+// 'main()' - Display the help GUI...
+//
+
+int // O - Exit status
+main(int argc, // I - Number of command-line arguments
+ char *argv[]) // I - Command-line arguments
+{
+ HelpDialog *help; // Help dialog
+
+
+ help = new HelpDialog;
+
+ if (argc < 2)
+ help->load("HelpDialog.html");
+ else
+ help->load(argv[1]);
+
+ help->show();
+
+ Fl::run();
+
+ delete help;
+
+ return (0);
+}
+
+
+//
+// End of "$Id: testhelp.cxx,v 1.3 2000/01/04 13:45:56 mike Exp $".
+//