COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

	Copyright (c) MyTurn.com 2000.  All rights reserved.

PROJECT:	GlobalPC
MODULE:		Internet Dialup Shortcut
FILE:		iDialCC.def

AUTHOR:		David Hunter, Oct 15, 2000

REVISION HISTORY:
	Name	Date		Description
	----	----		-----------
	dhunter	10/15/00   	Initial revision

DESCRIPTION:

	This library defines and implements an additional trigger for
	an application's titlebar that allows the user to rapidly
	disconnect the current PPP session, or alternatively launch
	the IDialup application.

	$Id$

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@

SetDef __IDIALCC

include Objects/gCtrlC.def
include Objects/gTrigC.def

StartLibrary	idialc

;******************************************************************************
;		IDialControlClass
;******************************************************************************

IDialControlClass	class	GenControlClass

; The IDCF_TRIGGER feature provides a trigger that represents the current
; connection state of the PPP interface.  When online, simply clicking on
; it will start a disconnect.  When offline, the IDialup application is
; launched to allow the user to connect.  The trigger's moniker will be
; 'CONNECT' or 'DISCONNECT' in the CUI and simple icons depicting the
; connection in the AUI.  The trigger is designed for placement in a
; primary's title bar, so HINT_SEEK_TITLE_BAR_LEFT/RIGHT should be set for
; the controller object.

IDialControlFeatures	record
	:7
	IDCF_TRIGGER:1		; Instant internet disconnect trigger
IDialControlFeatures	end

IDIAL_DEFAULT_FEATURES	equ	mask IDCF_TRIGGER

IDialControlClass	endc

EndLibrary	idialc
