htmlcontrol.h

Go to the documentation of this file.
00001 
00002 /*  $Id: htmlcontrol.h 355 2005-01-11 22:48:55Z andreradke $    */
00003 
00004 /******************************************************************************
00005 
00006     UserLand Frontier(tm) -- High performance Web content management,
00007     object database, system-level and Internet scripting environment,
00008     including source code editing and debugging.
00009 
00010     Copyright (C) 1992-2004 UserLand Software, Inc.
00011 
00012     This program is free software; you can redistribute it and/or modify
00013     it under the terms of the GNU General Public License as published by
00014     the Free Software Foundation; either version 2 of the License, or
00015     (at your option) any later version.
00016 
00017     This program is distributed in the hope that it will be useful,
00018     but WITHOUT ANY WARRANTY; without even the implied warranty of
00019     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020     GNU General Public License for more details.
00021 
00022     You should have received a copy of the GNU General Public License
00023     along with this program; if not, write to the Free Software
00024     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025 
00026 ******************************************************************************/
00027 
00028 #if (FRONTIERWEB==1)
00029 typedef long (WINAPI * tywebappSetup) (HINSTANCE hInstance, HWND hwnd, HWND hwndStatus, char * initialURL);
00030 typedef void (WINAPI * tywebappNoParam) ();
00031 typedef void (WINAPI * tywebappNavigate) (char * nameto);
00032 typedef long (WINAPI * tywebappVersion) ();
00033 typedef short (WINAPI * tywebappIsOffline) (short * fl);
00034 typedef short (WINAPI * tywebappSetOffline) (short fl);
00035 
00036 typedef LRESULT (WINAPI * tywebappWndProc) (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
00037 
00038 typedef struct tywebappInfo {
00039     boolean flactive;
00040     HMODULE hwebappModule;
00041     tywebappSetup webappSetup;
00042     tywebappWndProc webappWndProc;
00043     tywebappNoParam webappBack;
00044     tywebappNoParam webappForward;
00045     tywebappNoParam webappHome;
00046     tywebappNoParam webappStop;
00047     tywebappNoParam webappRefresh;
00048     tywebappNavigate webappNavigate;
00049     tywebappVersion webappVersion;
00050     tywebappIsOffline webappIsOffline;
00051     tywebappSetOffline webappSetOffline;
00052     } tywebappInfo;
00053 
00054 extern tywebappInfo gwebappInfo;
00055 
00056 
00057 HANDLE webappStartup ();
00058 boolean webappShutdown ();
00059 long doweb (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
00060 
00061 #endif
00062 long CALLBACK htmlControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
00063 
00064 void htmlcontrolback ();
00065 void htmlcontrolforward ();
00066 void htmlcontrolrefresh ();
00067 void htmlcontrolhome ();
00068 void htmlcontrolstop ();
00069 void htmlcontrolnavigate (Handle htext);
00070 boolean htmlcontrolversion (unsigned short * majorVersion, unsigned short * minorVersion);
00071 boolean htmlcontrolpresent ();
00072 boolean htmlcontrolactive ();
00073 boolean htmlcontrolisoffline (boolean * fl);
00074 boolean htmlcontrolsetoffline (boolean fl);

Generated on Wed May 31 18:19:47 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6