[GB.SCANNER]
* BUG: Do not set type on model. git-svn-id: svn://localhost/gambas/trunk@6768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
b8b7e09fcc
commit
95637f985f
3 changed files with 10 additions and 11 deletions
|
@ -20,18 +20,18 @@ Geometry=[-7,-10,210,210]
|
|||
Geometry=[-7,-10,210,210]
|
||||
|
||||
[FCommit]
|
||||
LastCommit="[GB.SCANNER]\n* BUG: Test if the scanner exist just on an option call.\n---- Cette ligne et les suivantes seront ignorées ----\n\nM .project\nM .src/Module2.module\nM .src/Scanner.class\nM .src/Scanners.class\nM .startup"
|
||||
LastCommit="[GB.SCANNER]\n* BUG: Test if the scanner exist just on an option call.\n\n---- Cette ligne et les suivantes seront ignorées ----\n\nM .project\nM .settings\nM .src/Module2.module\nM .src/Scanner.class\nM .src/Scanners.class\nM .startup"
|
||||
|
||||
[OpenFile]
|
||||
File[1]=".src/Scanner.class:192.16"
|
||||
File[2]=".src/Scanners.class:89.3"
|
||||
File[1]=".src/Scanner.class:289.3"
|
||||
File[2]=".src/Scanners.class:89.2"
|
||||
File[3]=".src/_Option.class:66.55"
|
||||
Active=1
|
||||
File[4]=".src/MTest.module:5.0"
|
||||
Count=7
|
||||
File[5]=".src/Module1.module:2.0"
|
||||
File[6]=".src/MTest2.module:14.6"
|
||||
File[7]=".src/Module2.module:4.2"
|
||||
File[7]=".src/Module2.module:12.0"
|
||||
File[8]=".src/Demo/FProperties.class:0.0"
|
||||
File[9]=".src/Demo/FMain.class:5.2"
|
||||
|
||||
|
|
|
@ -2,11 +2,9 @@
|
|||
|
||||
Public Sub Main()
|
||||
|
||||
Dim s As String
|
||||
|
||||
For Each s In Scanners
|
||||
Print s
|
||||
Print Scanners[s].IsAvailable()
|
||||
Next
|
||||
Dim s As String
|
||||
For Each s In Scanners
|
||||
Print Scanners[s].model
|
||||
Next
|
||||
|
||||
End
|
||||
|
|
|
@ -52,7 +52,7 @@ Private Sub GetInfo()
|
|||
|
||||
hInfo = Scanners._GetInfo($sName)
|
||||
$sVendor = hInfo.Vendor
|
||||
$sModel = hInfo.Type
|
||||
$sModel = hInfo.Model
|
||||
$sType = hInfo.Type
|
||||
bHaveInfo = True
|
||||
|
||||
|
@ -292,6 +292,7 @@ End
|
|||
Public Sub Process_Kill()
|
||||
|
||||
$sImageStack.Push($sCurImagePath)
|
||||
$fProgress = 1
|
||||
Raise Finished
|
||||
|
||||
End
|
||||
|
|
Loading…
Reference in a new issue