earlybrowserreborn - Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 roytam 1 /*
2  * This is main for the binary program "viola".
3  */
4 #include <stdio.h>
5 #include <X11/Xlib.h>
6 #include "mystrings.h"
7 #include "hash.h"
8 #include "ident.h"
9 #include "obj.h"
10  
11 void main(argc, argv)
12         int argc;
13         char *argv[];
14 {
15     initViola(argc, argv,
16               (char*)NULL, (Display*)NULL, (Screen*)NULL, (Window)0);
17 }
18  
19 /* the libWWW calls these routines to report HTTP loading progress
20  */
21 void showHelpMessageInMainWindow(message)
22     char *message;
23 {
24         extern VObj *mesgObj;
25         if (!mesgObj) mesgObj = findObject(getIdent("www.mesg.tf"));
26         if (mesgObj) sendMessage1N1str(mesgObj, "show", message);
27 }
28  
29 void blankHelpHandlerInMainWindow()
30 {
31         extern VObj *mesgObj;
32         if (!mesgObj) mesgObj = findObject(getIdent("www.mesg.tf"));
33         if (mesgObj) sendMessage1(mesgObj, "clear");
34 }
35  
36