From 0a314257f8f241728025e27faf6f9ec85e39d882 Mon Sep 17 00:00:00 2001 From: Alex Savin Date: Fri, 22 Aug 2025 17:52:08 -0400 Subject: [PATCH] Refactor import paths to use the new repository location for go-winrt - Updated import paths in multiple files to point to the new repository at git.savin.nyc/alex/go-winrt. - Removed old import paths referencing saltosystems/winrt-go. - Ensured consistency across all affected files in the Bluetooth Generic Attribute Profile and Foundation packages. --- Dockerfile.build | 2 +- Makefile | 8 +- cmd/winrt-go-gen/main.go | 2 +- go.mod | 2 +- internal/cli/cli.go | 2 +- internal/codegen/codegen.go | 4 +- internal/codegen/templates.go | 4 +- internal/codegen/templates/file.tmpl | 4 +- .../advertisement/bluetoothleadvertisement.go | 2 +- .../bluetoothleadvertisementwatcher.go | 2 +- ...hleadvertisementwatcherstoppedeventargs.go | 2 +- .../bluetoothlemanufacturerdata.go | 2 +- .../devices/bluetooth/bluetoothledevice.go | 2 +- .../gattcharacteristic.go | 6 +- .../gattcharacteristicsresult.go | 2 +- .../gattclientnotificationresult.go | 2 +- .../gattdeviceservice.go | 4 +- .../gattdeviceservicesresult.go | 2 +- .../gattlocalcharacteristic.go | 6 +- .../gattlocalcharacteristicparameters.go | 4 +- .../gattlocalcharacteristicresult.go | 2 +- .../gattlocaldescriptorparameters.go | 2 +- .../gattlocalservice.go | 4 +- .../gattreadrequest.go | 4 +- .../gattreadrequestedeventargs.go | 2 +- .../genericattributeprofile/gattreadresult.go | 2 +- .../gattserviceprovider.go | 2 +- ...attserviceprovideradvertisingparameters.go | 2 +- .../gattserviceproviderresult.go | 2 +- .../genericattributeprofile/gattsession.go | 4 +- .../gattsubscribedclient.go | 2 +- .../gattvaluechangedeventargs.go | 4 +- .../gattwriterequest.go | 4 +- .../gattwriterequestedeventargs.go | 2 +- windows/devices/geolocation/geolocator.go | 2 +- .../asyncoperationcompletedhandler.go | 3 +- .../foundation/deferralcompletedhandler.go | 3 +- windows/foundation/typedeventhandler.go | 3 +- windows/storage/streams/datawriter.go | 2 +- winrt.go | 124 +++++++++--------- 40 files changed, 118 insertions(+), 121 deletions(-) diff --git a/Dockerfile.build b/Dockerfile.build index 24333c8..c04d487 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -1,6 +1,6 @@ FROM saltosystems/go-builder:2471083 -ENV PKGPATH github.com/saltosystems/winrt-go +ENV PKGPATH git.savin.nyc/alex/go-winrt # include workspace .gitconfig in global .gitconfig RUN git config --global include.path "${GOPATH}/src/${PKGPATH}/.gitconfig" diff --git a/Makefile b/Makefile index 567dcaf..96b1a1e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PACKAGE = github.com/saltosystems/winrt-go +PACKAGE = git.savin.nyc/alex/go-winrt PKG ?= ./... APP ?= winrt-go-gen BUILD_TAGS ?= @@ -26,13 +26,13 @@ clean: $(clean_targets) .PHONY: gen-files gen-files: rm -rf $(CURDIR)/windows - go generate github.com/saltosystems/winrt-go/... + go generate git.savin.nyc/alex/go-winrt/... .PHONY: check-generated check-generated: export WINRT_GO_GEN_VALIDATE=1 check-generated: - go generate github.com/saltosystems/winrt-go/... + go generate git.savin.nyc/alex/go-winrt/... .PHONY: go-test go-test: - go test github.com/saltosystems/winrt-go/... + go test git.savin.nyc/alex/go-winrt/... diff --git a/cmd/winrt-go-gen/main.go b/cmd/winrt-go-gen/main.go index c06a78f..30885a9 100644 --- a/cmd/winrt-go-gen/main.go +++ b/cmd/winrt-go-gen/main.go @@ -5,10 +5,10 @@ import ( "os" "strings" + "git.savin.nyc/alex/go-winrt/internal/cli" "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/peterbourgon/ff/v3" - "github.com/saltosystems/winrt-go/internal/cli" ) func main() { diff --git a/go.mod b/go.mod index 26ee8f2..848713e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/saltosystems/winrt-go +module git.savin.nyc/alex/go-winrt go 1.18 diff --git a/internal/cli/cli.go b/internal/cli/cli.go index 811293a..a4d1d68 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -7,7 +7,7 @@ import ( "github.com/go-kit/log" "github.com/go-kit/log/level" - "github.com/saltosystems/winrt-go/internal/codegen" + "git.savin.nyc/alex/go-winrt/internal/codegen" ) const methodFilterUsage = `The filter to use when generating the methods. This option can be set several times, diff --git a/internal/codegen/codegen.go b/internal/codegen/codegen.go index 27b8a50..93ddbb6 100644 --- a/internal/codegen/codegen.go +++ b/internal/codegen/codegen.go @@ -8,10 +8,10 @@ import ( "path/filepath" "strings" + "git.savin.nyc/alex/go-winrt" + "git.savin.nyc/alex/go-winrt/internal/winmd" "github.com/go-kit/log" "github.com/go-kit/log/level" - "github.com/saltosystems/winrt-go" - "github.com/saltosystems/winrt-go/internal/winmd" "github.com/tdakkota/win32metadata/types" "golang.org/x/tools/imports" ) diff --git a/internal/codegen/templates.go b/internal/codegen/templates.go index 2469173..a434d26 100644 --- a/internal/codegen/templates.go +++ b/internal/codegen/templates.go @@ -5,7 +5,7 @@ import ( "strings" "text/template" - "github.com/saltosystems/winrt-go/internal/winmd" + "git.savin.nyc/alex/go-winrt/internal/winmd" ) type genDataFile struct { @@ -130,7 +130,7 @@ func (i genImport) ToGoImport() string { } folder := typeToFolder(i.Namespace, i.Name) - return "github.com/saltosystems/winrt-go/" + folder + return "git.savin.nyc/alex/go-winrt/" + folder } // some of the variables are not public to avoid using them diff --git a/internal/codegen/templates/file.tmpl b/internal/codegen/templates/file.tmpl index d8760dd..80a57e1 100644 --- a/internal/codegen/templates/file.tmpl +++ b/internal/codegen/templates/file.tmpl @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go" - "github.com/saltosystems/winrt-go/internal/kernel32" + "git.savin.nyc/alex/go-winrt" + "git.savin.nyc/alex/go-winrt/internal/kernel32" {{range .Imports}}"{{.}}" {{end}} ) diff --git a/windows/devices/bluetooth/advertisement/bluetoothleadvertisement.go b/windows/devices/bluetooth/advertisement/bluetoothleadvertisement.go index abe19f4..8e38bbc 100644 --- a/windows/devices/bluetooth/advertisement/bluetoothleadvertisement.go +++ b/windows/devices/bluetooth/advertisement/bluetoothleadvertisement.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation/collections" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation/collections" ) const SignatureBluetoothLEAdvertisement string = "rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement;{066fb2b7-33d1-4e7d-8367-cf81d0f79653})" diff --git a/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcher.go b/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcher.go index 0b02f2f..5754132 100644 --- a/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcher.go +++ b/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcher.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureBluetoothLEAdvertisementWatcher string = "rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher;{a6ac336f-f3d3-4297-8d6c-c81ea6623f40})" diff --git a/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcherstoppedeventargs.go b/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcherstoppedeventargs.go index 0d12fdd..609f10c 100644 --- a/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcherstoppedeventargs.go +++ b/windows/devices/bluetooth/advertisement/bluetoothleadvertisementwatcherstoppedeventargs.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/devices/bluetooth" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/devices/bluetooth" ) const SignatureBluetoothLEAdvertisementWatcherStoppedEventArgs string = "rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs;{dd40f84d-e7b9-43e3-9c04-0685d085fd8c})" diff --git a/windows/devices/bluetooth/advertisement/bluetoothlemanufacturerdata.go b/windows/devices/bluetooth/advertisement/bluetoothlemanufacturerdata.go index d4f3e2f..eb6c2d1 100644 --- a/windows/devices/bluetooth/advertisement/bluetoothlemanufacturerdata.go +++ b/windows/devices/bluetooth/advertisement/bluetoothlemanufacturerdata.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureBluetoothLEManufacturerData string = "rc(Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData;{912dba18-6963-4533-b061-4694dafb34e5})" diff --git a/windows/devices/bluetooth/bluetoothledevice.go b/windows/devices/bluetooth/bluetoothledevice.go index 89df867..4414881 100644 --- a/windows/devices/bluetooth/bluetoothledevice.go +++ b/windows/devices/bluetooth/bluetoothledevice.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureBluetoothLEDevice string = "rc(Windows.Devices.Bluetooth.BluetoothLEDevice;{b5ee2f7b-4ad8-4642-ac48-80a0b500e887})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattcharacteristic.go b/windows/devices/bluetooth/genericattributeprofile/gattcharacteristic.go index 68d2e0b..bab5c35 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattcharacteristic.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattcharacteristic.go @@ -9,10 +9,10 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/devices/bluetooth" + "git.savin.nyc/alex/go-winrt/windows/foundation" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/devices/bluetooth" - "github.com/saltosystems/winrt-go/windows/foundation" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattCharacteristic string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic;{59cb50c1-5934-4f68-a198-eb864fa44e6b})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattcharacteristicsresult.go b/windows/devices/bluetooth/genericattributeprofile/gattcharacteristicsresult.go index 9f1354e..75762e2 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattcharacteristicsresult.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattcharacteristicsresult.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation/collections" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation/collections" ) const SignatureGattCharacteristicsResult string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult;{1194945c-b257-4f3e-9db7-f68bc9a9aef2})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattclientnotificationresult.go b/windows/devices/bluetooth/genericattributeprofile/gattclientnotificationresult.go index 1316105..26bb097 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattclientnotificationresult.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattclientnotificationresult.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGattClientNotificationResult string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult;{506d5599-0112-419a-8e3b-ae21afabd2c2})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattdeviceservice.go b/windows/devices/bluetooth/genericattributeprofile/gattdeviceservice.go index eac17c0..79ac46d 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattdeviceservice.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattdeviceservice.go @@ -9,9 +9,9 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/devices/bluetooth" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/devices/bluetooth" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGattDeviceService string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService;{ac7b7c05-b33c-47cf-990f-6b8f5577df71})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattdeviceservicesresult.go b/windows/devices/bluetooth/genericattributeprofile/gattdeviceservicesresult.go index 09271ca..8f696ad 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattdeviceservicesresult.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattdeviceservicesresult.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation/collections" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation/collections" ) const SignatureGattDeviceServicesResult string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult;{171dd3ee-016d-419d-838a-576cf475a3d8})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristic.go b/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristic.go index 3b33649..12ea161 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristic.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristic.go @@ -9,10 +9,10 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" + "git.savin.nyc/alex/go-winrt/windows/foundation/collections" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" - "github.com/saltosystems/winrt-go/windows/foundation/collections" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattLocalCharacteristic string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic;{aede376d-5412-4d74-92a8-8deb8526829c})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicparameters.go b/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicparameters.go index 542bf35..22c4c53 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicparameters.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicparameters.go @@ -9,9 +9,9 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation/collections" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation/collections" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattLocalCharacteristicParameters string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters;{faf73db4-4cff-44c7-8445-040e6ead0063})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicresult.go b/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicresult.go index ebcce90..273d1c1 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicresult.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattlocalcharacteristicresult.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/devices/bluetooth" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/devices/bluetooth" ) const SignatureGattLocalCharacteristicResult string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult;{7975de9b-0170-4397-9666-92f863f12ee6})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattlocaldescriptorparameters.go b/windows/devices/bluetooth/genericattributeprofile/gattlocaldescriptorparameters.go index 1bf5495..1658d74 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattlocaldescriptorparameters.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattlocaldescriptorparameters.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattLocalDescriptorParameters string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters;{5fdede6a-f3c1-4b66-8c4b-e3d2293b40e9})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattlocalservice.go b/windows/devices/bluetooth/genericattributeprofile/gattlocalservice.go index e31a89b..c218ccf 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattlocalservice.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattlocalservice.go @@ -9,9 +9,9 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" + "git.savin.nyc/alex/go-winrt/windows/foundation/collections" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" - "github.com/saltosystems/winrt-go/windows/foundation/collections" ) const SignatureGattLocalService string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService;{f513e258-f7f7-4902-b803-57fcc7d6fe83})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattreadrequest.go b/windows/devices/bluetooth/genericattributeprofile/gattreadrequest.go index 5f039e9..b1af3b0 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattreadrequest.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattreadrequest.go @@ -9,9 +9,9 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattReadRequest string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest;{f1dd6535-6acd-42a6-a4bb-d789dae0043e})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattreadrequestedeventargs.go b/windows/devices/bluetooth/genericattributeprofile/gattreadrequestedeventargs.go index aa82a32..7526cb1 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattreadrequestedeventargs.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattreadrequestedeventargs.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGattReadRequestedEventArgs string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs;{93497243-f39c-484b-8ab6-996ba486cfa3})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattreadresult.go b/windows/devices/bluetooth/genericattributeprofile/gattreadresult.go index 29c9b59..e7d6369 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattreadresult.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattreadresult.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattReadResult string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult;{63a66f08-1aea-4c4c-a50f-97bae474b348})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattserviceprovider.go b/windows/devices/bluetooth/genericattributeprofile/gattserviceprovider.go index 753e0cd..4b1f2f7 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattserviceprovider.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattserviceprovider.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGattServiceProvider string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider;{7822b3cd-2889-4f86-a051-3f0aed1c2760})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattserviceprovideradvertisingparameters.go b/windows/devices/bluetooth/genericattributeprofile/gattserviceprovideradvertisingparameters.go index 66a5f74..0ea191d 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattserviceprovideradvertisingparameters.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattserviceprovideradvertisingparameters.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattServiceProviderAdvertisingParameters string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters;{e2ce31ab-6315-4c22-9bd7-781dbc3d8d82})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattserviceproviderresult.go b/windows/devices/bluetooth/genericattributeprofile/gattserviceproviderresult.go index f704b2f..375c6f9 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattserviceproviderresult.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattserviceproviderresult.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/devices/bluetooth" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/devices/bluetooth" ) const SignatureGattServiceProviderResult string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult;{764696d8-c53e-428c-8a48-67afe02c3ae6})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattsession.go b/windows/devices/bluetooth/genericattributeprofile/gattsession.go index 8a4cb0c..1e3845a 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattsession.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattsession.go @@ -9,9 +9,9 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/devices/bluetooth" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/devices/bluetooth" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGattSession string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession;{d23b5143-e04e-4c24-999c-9c256f9856b1})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattsubscribedclient.go b/windows/devices/bluetooth/genericattributeprofile/gattsubscribedclient.go index 7cc5c44..e351e18 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattsubscribedclient.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattsubscribedclient.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGattSubscribedClient string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient;{736e9001-15a4-4ec2-9248-e3f20d463be9})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattvaluechangedeventargs.go b/windows/devices/bluetooth/genericattributeprofile/gattvaluechangedeventargs.go index 015ca77..f05e126 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattvaluechangedeventargs.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattvaluechangedeventargs.go @@ -9,9 +9,9 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattValueChangedEventArgs string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs;{d21bdb54-06e3-4ed8-a263-acfac8ba7313})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattwriterequest.go b/windows/devices/bluetooth/genericattributeprofile/gattwriterequest.go index 150753c..df8eca8 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattwriterequest.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattwriterequest.go @@ -9,9 +9,9 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" + "git.savin.nyc/alex/go-winrt/windows/storage/streams" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" - "github.com/saltosystems/winrt-go/windows/storage/streams" ) const SignatureGattWriteRequest string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest;{aeb6a9ed-de2f-4fc2-a9a8-94ea7844f13d})" diff --git a/windows/devices/bluetooth/genericattributeprofile/gattwriterequestedeventargs.go b/windows/devices/bluetooth/genericattributeprofile/gattwriterequestedeventargs.go index 1cd05d8..67fc0de 100644 --- a/windows/devices/bluetooth/genericattributeprofile/gattwriterequestedeventargs.go +++ b/windows/devices/bluetooth/genericattributeprofile/gattwriterequestedeventargs.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGattWriteRequestedEventArgs string = "rc(Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs;{2dec8bbe-a73a-471a-94d5-037deadd0806})" diff --git a/windows/devices/geolocation/geolocator.go b/windows/devices/geolocation/geolocator.go index 6605192..4c2bf4d 100644 --- a/windows/devices/geolocation/geolocator.go +++ b/windows/devices/geolocation/geolocator.go @@ -9,8 +9,8 @@ import ( "syscall" "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureGeolocator string = "rc(Windows.Devices.Geolocation.Geolocator;{a9c3bf62-4524-4989-8aa9-de019d2e551f})" diff --git a/windows/foundation/asyncoperationcompletedhandler.go b/windows/foundation/asyncoperationcompletedhandler.go index 99deace..9f2a4ee 100644 --- a/windows/foundation/asyncoperationcompletedhandler.go +++ b/windows/foundation/asyncoperationcompletedhandler.go @@ -10,9 +10,8 @@ import ( "time" "unsafe" + "git.savin.nyc/alex/go-winrt/internal/kernel32" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/internal/delegate" - "github.com/saltosystems/winrt-go/internal/kernel32" ) const GUIDAsyncOperationCompletedHandler string = "fcdcf02c-e5d8-4478-915a-4d90b74b83a5" diff --git a/windows/foundation/deferralcompletedhandler.go b/windows/foundation/deferralcompletedhandler.go index 989225c..896f40e 100644 --- a/windows/foundation/deferralcompletedhandler.go +++ b/windows/foundation/deferralcompletedhandler.go @@ -10,9 +10,8 @@ import ( "time" "unsafe" + "git.savin.nyc/alex/go-winrt/internal/kernel32" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/internal/delegate" - "github.com/saltosystems/winrt-go/internal/kernel32" ) const GUIDDeferralCompletedHandler string = "ed32a372-f3c8-4faa-9cfb-470148da3888" diff --git a/windows/foundation/typedeventhandler.go b/windows/foundation/typedeventhandler.go index 725179c..18a6773 100644 --- a/windows/foundation/typedeventhandler.go +++ b/windows/foundation/typedeventhandler.go @@ -10,9 +10,8 @@ import ( "time" "unsafe" + "git.savin.nyc/alex/go-winrt/internal/kernel32" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/internal/delegate" - "github.com/saltosystems/winrt-go/internal/kernel32" ) const GUIDTypedEventHandler string = "9de1c534-6ae1-11e0-84e1-18a905bcc53f" diff --git a/windows/storage/streams/datawriter.go b/windows/storage/streams/datawriter.go index ad7bed8..2e79e82 100644 --- a/windows/storage/streams/datawriter.go +++ b/windows/storage/streams/datawriter.go @@ -8,8 +8,8 @@ package streams import ( "unsafe" + "git.savin.nyc/alex/go-winrt/windows/foundation" "github.com/go-ole/go-ole" - "github.com/saltosystems/winrt-go/windows/foundation" ) const SignatureDataWriter string = "rc(Windows.Storage.Streams.DataWriter;{64b89265-d341-4922-b38a-dd4af8808c4e})" diff --git a/winrt.go b/winrt.go index 7ef0efc..144196e 100644 --- a/winrt.go +++ b/winrt.go @@ -1,76 +1,76 @@ package winrt // common -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.IClosable -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.IAsyncOperation`1 -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.AsyncOperationCompletedHandler`1 -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.AsyncStatus -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.DateTime -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.Deferral -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.DeferralCompletedHandler -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.IReference`1 +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.IClosable +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.IAsyncOperation`1 +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.AsyncOperationCompletedHandler`1 +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.AsyncStatus +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.DateTime +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.Deferral +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.DeferralCompletedHandler +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.IReference`1 // advertisement -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStatus -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher -method-filter add_Received -method-filter remove_Received -method-filter add_Stopped -method-filter remove_Stopped -method-filter Start -method-filter Stop -method-filter get_Status -method-filter get_AllowExtendedAdvertisements -method-filter put_AllowExtendedAdvertisements -method-filter get_ScanningMode -method-filter put_ScanningMode -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementReceivedEventArgs -method-filter get_RawSignalStrengthInDBm -method-filter get_BluetoothAddress -method-filter get_Advertisement -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement -method-filter get_LocalName -method-filter put_LocalName -method-filter get_ServiceUuids -method-filter get_ManufacturerData -method-filter get_DataSections -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataSection -method-filter get_DataType -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher -method-filter get_Advertisement -method-filter Start -method-filter Stop -method-filter get_Status -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatus -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEScanningMode +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStatus +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcher -method-filter add_Received -method-filter remove_Received -method-filter add_Stopped -method-filter remove_Stopped -method-filter Start -method-filter Stop -method-filter get_Status -method-filter get_AllowExtendedAdvertisements -method-filter put_AllowExtendedAdvertisements -method-filter get_ScanningMode -method-filter put_ScanningMode -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementReceivedEventArgs -method-filter get_RawSignalStrengthInDBm -method-filter get_BluetoothAddress -method-filter get_Advertisement -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementWatcherStoppedEventArgs +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEManufacturerData +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisement -method-filter get_LocalName -method-filter put_LocalName -method-filter get_ServiceUuids -method-filter get_ManufacturerData -method-filter get_DataSections -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementDataSection -method-filter get_DataType -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisher -method-filter get_Advertisement -method-filter Start -method-filter Stop -method-filter get_Status -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementPublisherStatus +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.Advertisement.BluetoothLEScanningMode // bluetooth -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothLEDevice -method-filter FromBluetoothAddressAsync -method-filter FromBluetoothAddressWithBluetoothAddressTypeAsync -method-filter Close -method-filter get_ConnectionStatus -method-filter add_ConnectionStatusChanged -method-filter remove_ConnectionStatusChanged -method-filter get_BluetoothDeviceId -method-filter GetGattServicesWithCacheModeAsync -method-filter GetGattServicesAsync -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothConnectionStatus -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothAddressType -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothDeviceId -method-filter !FromId -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothCacheMode -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothError +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothLEDevice -method-filter FromBluetoothAddressAsync -method-filter FromBluetoothAddressWithBluetoothAddressTypeAsync -method-filter Close -method-filter get_ConnectionStatus -method-filter add_ConnectionStatusChanged -method-filter remove_ConnectionStatusChanged -method-filter get_BluetoothDeviceId -method-filter GetGattServicesWithCacheModeAsync -method-filter GetGattServicesAsync -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothConnectionStatus +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothAddressType +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothDeviceId -method-filter !FromId +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothCacheMode +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.BluetoothError -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession -method-filter FromDeviceIdAsync -method-filter get_MaintainConnection -method-filter put_MaintainConnection -method-filter get_CanMaintainConnection -method-filter Close -method-filter get_MaxPduSize -method-filter add_MaxPduSizeChanged -method-filter remove_MaxPduSizeChanged -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult -method-filter !get_ProtocolError -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCommunicationStatus -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService -method-filter get_Uuid -method-filter Close -method-filter GetCharacteristicsAsync -method-filter GetCharacteristicsWithCacheModeAsync -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult -method-filter !get_ProtocolError -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic -method-filter get_Uuid -method-filter get_CharacteristicProperties -method-filter WriteValueWithOptionAsync -method-filter WriteValueAsync -method-filter ReadValueWithCacheModeAsync -method-filter ReadValueAsync -method-filter WriteClientCharacteristicConfigurationDescriptorAsync -method-filter add_ValueChanged -method-filter remove_ValueChanged -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicProperties -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteOption -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult -method-filter !get_ProtocolError -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientCharacteristicConfigurationDescriptorValue -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtectionLevel -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestState -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatus -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattSession -method-filter FromDeviceIdAsync -method-filter get_MaintainConnection -method-filter put_MaintainConnection -method-filter get_CanMaintainConnection -method-filter Close -method-filter get_MaxPduSize -method-filter add_MaxPduSizeChanged -method-filter remove_MaxPduSizeChanged -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceServicesResult -method-filter !get_ProtocolError +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCommunicationStatus +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattDeviceService -method-filter get_Uuid -method-filter Close -method-filter GetCharacteristicsAsync -method-filter GetCharacteristicsWithCacheModeAsync -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicsResult -method-filter !get_ProtocolError +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristic -method-filter get_Uuid -method-filter get_CharacteristicProperties -method-filter WriteValueWithOptionAsync -method-filter WriteValueAsync -method-filter ReadValueWithCacheModeAsync -method-filter ReadValueAsync -method-filter WriteClientCharacteristicConfigurationDescriptorAsync -method-filter add_ValueChanged -method-filter remove_ValueChanged -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattCharacteristicProperties +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteOption +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadResult -method-filter !get_ProtocolError +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientCharacteristicConfigurationDescriptorValue +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattValueChangedEventArgs +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattClientNotificationResult +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristic +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicParameters +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalCharacteristicResult +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalDescriptorParameters +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattLocalService +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtectionLevel +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequest +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattReadRequestedEventArgs +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattRequestState +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProvider +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisementStatus +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderAdvertisingParameters +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattServiceProviderResult +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattSubscribedClient +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequest +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Devices.Bluetooth.GenericAttributeProfile.GattWriteRequestedEventArgs // event -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.TypedEventHandler`2 -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.EventRegistrationToken +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.TypedEventHandler`2 +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.EventRegistrationToken // buffer -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.IBuffer -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.Buffer -method-filter !CreateCopyFromMemoryBuffer -method-filter !CreateMemoryBufferOverIBuffer -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.IDataReader -method-filter ReadBytes -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.DataReader -method-filter FromBuffer -method-filter ReadBytes -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.IDataWriter -method-filter WriteBytes -method-filter DetachBuffer -method-filter !* -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.DataWriter -method-filter WriteBytes -method-filter DetachBuffer -method-filter DataWriter -method-filter Close -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.IBuffer +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.Buffer -method-filter !CreateCopyFromMemoryBuffer -method-filter !CreateMemoryBufferOverIBuffer +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.IDataReader -method-filter ReadBytes -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.DataReader -method-filter FromBuffer -method-filter ReadBytes -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.IDataWriter -method-filter WriteBytes -method-filter DetachBuffer -method-filter !* +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Storage.Streams.DataWriter -method-filter WriteBytes -method-filter DetachBuffer -method-filter DataWriter -method-filter Close -method-filter !* // vector -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.Collections.IVector`1 -//go:generate go run github.com/saltosystems/winrt-go/cmd/winrt-go-gen -debug -class Windows.Foundation.Collections.IVectorView`1 +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.Collections.IVector`1 +//go:generate go run git.savin.nyc/alex/go-winrt/cmd/winrt-go-gen -debug -class Windows.Foundation.Collections.IVectorView`1