File: n_cst_stdin.sru
Size: 1382
Date: Sat, 08 Dec 2007 15:38:26 +0100
$PBExportHeader$n_cst_stdin.sru
$PBExportComments$Standard In
forward
global type n_cst_stdin from nonvisualobject
end type
end forward

global type n_cst_stdin from nonvisualobject
end type
global n_cst_stdin n_cst_stdin

type prototypes
private function ulong nv_stdin_constructor() library 'pweio.dll'
private subroutine nv_stdin_destructor( ulong th ) library 'pweio.dll'
private function long nv_stdin_getdata ( ulong th , ref string as_text , long al_size ) library 'pweio.dll' alias for "nv_stdin_getdata"
private function long nv_stdin_writefromfileA ( ulong th , ref string as_file ) library 'pweio.dll' alias for "nv_stdin_writefromfileA"

end prototypes
type variables
Public:
constant long STDIO_ERROR = -1
constant long STDIO_OK = 0

Private:
ulong ThisHandle

end variables

forward prototypes
public function long getdata (ref string as_text , long al_size )
end prototypes

public function long getdata (ref string as_text , long al_size );RETURN nv_stdin_getdata ( ThisHandle,  as_text , al_size  ) 

end function

on n_cst_stdin.create
call super::create
TriggerEvent( this, "constructor" )
end on

on n_cst_stdin.destroy
TriggerEvent( this, "destructor" )
call super::destroy
end on

event constructor;ThisHandle = nv_stdin_constructor ()
end event

event destructor;nv_stdin_destructor (ThisHandle)
end event