mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-21 19:29:44 +08:00
Bumped version.
This commit is contained in:
@@ -73,6 +73,7 @@
|
|||||||
<Compile Include="Triplets\DGControl\DGControl.Callback2.cs" />
|
<Compile Include="Triplets\DGControl\DGControl.Callback2.cs" />
|
||||||
<Compile Include="Triplets\DGImage\DGImage.Filter.cs" />
|
<Compile Include="Triplets\DGImage\DGImage.Filter.cs" />
|
||||||
<Compile Include="Triplets\OpBase.cs" />
|
<Compile Include="Triplets\OpBase.cs" />
|
||||||
|
<Compile Include="Triplets\PInvoke.Linux.cs" />
|
||||||
<Compile Include="Triplets\PInvoke.Win32.cs" />
|
<Compile Include="Triplets\PInvoke.Win32.cs" />
|
||||||
<Compile Include="Triplets\PInvoke.Win64.cs" />
|
<Compile Include="Triplets\PInvoke.Win64.cs" />
|
||||||
<Compile Include="TwainSessionExtensions.cs" />
|
<Compile Include="TwainSessionExtensions.cs" />
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<!--<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>-->
|
<!--<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>-->
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>$description$</description>
|
<description>$description$</description>
|
||||||
<releaseNotes>V0.8 release is updated for TWAIN 2.3 and contains some renamed types.</releaseNotes>
|
<releaseNotes>V0.9 release is updated for TWAIN 2.3 and contains some refactoring that may require updating existing code.</releaseNotes>
|
||||||
<copyright>$copyright$</copyright>
|
<copyright>$copyright$</copyright>
|
||||||
<tags>twain scan</tags>
|
<tags>twain scan</tags>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ namespace NTwain
|
|||||||
class _NTwainVersionInfo
|
class _NTwainVersionInfo
|
||||||
{
|
{
|
||||||
// keep this same in majors releases
|
// keep this same in majors releases
|
||||||
public const string Release = "0.8.0.0";
|
public const string Release = "0.9.0.0";
|
||||||
// change this for each nuget release
|
// change this for each nuget release
|
||||||
public const string Build = "0.8.2";
|
public const string Build = "0.9.0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
286
NTwain/Triplets/PInvoke.Linux.cs
Normal file
286
NTwain/Triplets/PInvoke.Linux.cs
Normal file
@@ -0,0 +1,286 @@
|
|||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using NTwain.Data;
|
||||||
|
using NTwain.Values;
|
||||||
|
|
||||||
|
namespace NTwain.Triplets
|
||||||
|
{
|
||||||
|
static partial class PInvoke
|
||||||
|
{
|
||||||
|
// not sure if the signatures are correct yet
|
||||||
|
// so just a placeholder for now
|
||||||
|
|
||||||
|
//static partial class NativeMethods
|
||||||
|
//{
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// ref IntPtr data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// ref uint data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWAudioInfo data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWCapability data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWCustomDSData data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWDeviceEvent data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWCallback data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWCallback2 data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWEntryPoint data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWEvent data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWFileSystem data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// IntPtr zero,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWIdentity data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWPassThru data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWPendingXfers data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWSetupFileXfer data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWSetupMemXfer data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWStatusUtf8 data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWUserInterface data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWCieColor data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWExtImageInfo data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWFilter data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWGrayResponse data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWImageInfo data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWImageLayout data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWImageMemXfer data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWJpegCompression data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWPalette8 data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWRgbResponse data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// [In, Out]TWStatus data);
|
||||||
|
|
||||||
|
// [DllImport("/usr/local/lib/libtwaindsm.so", EntryPoint = "#1")]
|
||||||
|
// public static extern ReturnCode DsmEntryLinux(
|
||||||
|
// [In, Out]TWIdentity origin,
|
||||||
|
// [In, Out]TWIdentity destination,
|
||||||
|
// DataGroups dg,
|
||||||
|
// DataArgumentType dat,
|
||||||
|
// Message msg,
|
||||||
|
// ref TWMemory data);
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user