/***********************************************************************
 *
 *	Copyright (c) Geoworks 1992 -- All Rights Reserved
 *
 * PROJECT:	  GEOS
 * MODULE:	  helpview.goc
 * FILE:	  helpview.goc
 *
 * AUTHOR:  	  Gene Anderson: Dec  8, 1992
 *
 * ROUTINES:
 *	Name	  	    Description
 *	----	  	    -----------
 *
 * REVISION HISTORY:
 *	Date	  Name	    Description
 *	----	  ----	    -----------
 *	12/ 8/92  gene	    Initial version
 *
 * DESCRIPTION:
 *	Sample help viewer in C
 *
 *	$Id: helpview.goc,v 1.2.7.3 94/01/22 21:45:40 jenny Exp $
 *
 ***********************************************************************/
/*
 ***************************************************************************
 *		Include files
 ***************************************************************************
 */

@include <stdapp.goh>

/*
 ***************************************************************************
 *		Class & Message Definitions
 ***************************************************************************
 */

@class	HelpViewProcessClass, GenProcessClass ; ;

@endc   /* end of class definition */

@classdecl	HelpViewProcessClass, neverSaved ; ;

/*
 ***************************************************************************
 *		UI Objects
 ***************************************************************************
 */

@start	AppResource ; ;

@object GenApplicationClass HelpViewApp = {

    GI_visMoniker = list { @HelpViewTextMoniker }

    GI_comp = @HelpViewPrimary;

    gcnList(MANUFACTURER_ID_GEOWORKS,GAGCNLT_WINDOWS) =
	@HelpViewPrimary;
    gcnList(MANUFACTURER_ID_GEOWORKS,MGCNLT_ACTIVE_LIST) =
	@HelpViewHelpObject;
}

@visMoniker HelpViewTextMoniker = "C Sample Help Viewer";

@end	AppResource

@start	Interface		/* this resource is for misc UI objects */ ; ;

@object GenPrimaryClass HelpViewPrimary  = {

    GI_comp = @HelpViewHelpObject;
    HINT_PRIMARY_FULL_SCREEN;
}

@object HelpControlClass HelpViewHelpObject = {
    GII_visibility = GIV_SUB_GROUP;
    ATTR_HELP_INITIAL_HELP = "TOC";
    HINT_EXPAND_WIDTH_TO_FIT_PARENT;
    HINT_EXPAND_HEIGHT_TO_FIT_PARENT;
    ATTR_GEN_CONTROL_PROHIBIT_UI = {HPCF_CLOSE};
}

@end Interface
