/* (c) Copyright 1990-1992 Novell, Inc. All rights reserved.
 *
 * $Logfile:   H:/csm/hostprt/vcs/hostprt.clv  $
 * $Revision:   1.0  $
 * $Date:   17 May 1993 15:21:24  $
 * $Author:   SGOLDSTE  $
 * $Log:   H:/csm/hostprt/vcs/hostprt.clv  $
 * 
 *    Rev 1.0   17 May 1993 15:21:24   SGOLDSTE
 * Initial revision.
 * 
 */


Class HostPrt10 List
    Super  Service
    Method HasSession
    Method GetObjectClass
    Method LaunchSessions
EndClass

Class  SCRHostPrtConfig
    Super   ViewPort
    method  BtPA1Act
    method  BtPA2Act
    method  BtCancelAct
    method  BtRestartAct
    method  BtOkayAct
    method  OIAAckCSGetAttribute
    method  BtStartAct
    method  BtStopAct
    method  ListData
EndClass

Class  SCRHostPrtSessions
    Super   ViewPort
    method  BtHomeAct
    method  BtPgUpAct
    method  BtPgDownAct
    method  BtUpdateAct
    method  BtMoreInfoAct
EndClass

Class PrinterLUSession  LIST
    super   ServiceComponent
EndClass

LIST PrinterLUSession PrinterLUSession
  Element GraphTool
     ShortInt nameless  000000000
EndList

Class PrintQueue  LIST
    super   ServiceComponent
EndClass

LIST PrintQueue PrintQueue
  Element GraphTool
     ShortInt nameless  000000000
EndList

Class PrinterSession    LIST
    super   DataElement
    method  GetString
    method  GetTitle
EndClass

LIST HostPrt10 HostPrt10
      Element ObjectIdList
        List ObjectIdList ObjectIdList
          Element ObjectId
            # Object Id: PrinterSession
            ObjectId nameless "" "2.1.2.26"
          Element ObjClass
             ShortInt nameless PrinterLUSession
        EndList
#      Element ObjectIdList
#        List ObjectIdList ObjectIdList
#          Element ObjectId
#            # Object Id: PrinterQueue
#            ObjectId nameless "" "2.1.2.27"
#          Element ObjClass
#             ShortInt nameless PrintQueue
        EndList
   EndList
EndList

Class HostPrtTEMPLLIST list
    Method GetTemplate
EndClass

LIST HostPrtTEMPLLIST HostPrtTEMPLLIST
	Element  PrinterSession
		LIST  PrinterSession PrinterSession
# it is essential to keep the first 4 elements in this order.
# They are used in the CSGetNextAttribute request.
			Element LUName
				ShortInt nameless 00000
			Element JobName
				ShortInt nameless 00000
			Element HostApplication
				ShortInt nameless 00000
			Element PrinterSessionState
				ShortInt nameless 00000
#			Element ServiceName
#				ShortInt nameless 00000
			Element PrinterStatus
				ShortInt nameless 00000
			Element CharsPerLine
				ShortInt nameless 00000
			Element LinesPerPage
				ShortInt nameless 00000
			Element LinesPerInch
				ShortInt nameless 00000
			Element JobNumber
				ShortInt nameless 00000
			Element JobStatus
				ShortInt nameless 00000
            Element PrintQueue
				ShortInt nameless 00000
            Element ObjectId
				ShortInt nameless 00000
            Element ObjectInstance
				ShortInt nameless 00000
            Element MSAdr
				ShortInt nameless 00000
            Element ParObjPtr
				ShortInt nameless 00000
		EndList
	Element  PrintQueue
		LIST  PrintQueue PrintQueue
			Element QueueName
				ShortInt nameless 00000
			Element Server
				ShortInt nameless 00000
			Element JobName
				ShortInt nameless 00000
		EndList
EndList

PCODE PCDHostPrt HostPrt.pcd
