Skip to content

Commit ebf52d8

Browse files
committed
UniqueComInterfaceMarshaller -> ComInterfaceMarshaller
1 parent 32b5c5c commit ebf52d8

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

IPlugin.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public partial interface IPlugin : IFree
6565
/// </summary>
6666
/// <param name="index">The index of the preset configuration.</param>
6767
/// <param name="presetConfig">The <see cref="IPluginPresetConfig"/> instance at the specified index.</param>
68-
void GetPresetConfig(int index, [MarshalUsing(typeof(UniqueComInterfaceMarshaller<IPluginPresetConfig>))] out IPluginPresetConfig presetConfig);
68+
void GetPresetConfig(int index, [MarshalUsing(typeof(ComInterfaceMarshaller<IPluginPresetConfig>))] out IPluginPresetConfig presetConfig);
6969

7070
/// <summary>
7171
/// Cancels an asynchronous operation associated with the specified cancellation token.
@@ -98,5 +98,5 @@ void SetPluginProxySettings([MarshalAs(UnmanagedType.LPWStr)] string? hostUri,
9898
/// Gets the plugin self-updater instance.
9999
/// </summary>
100100
/// <param name="selfUpdate">An instance to <see cref="IPluginSelfUpdate"/>.</param>
101-
void GetPluginSelfUpdater([MarshalUsing(typeof(UniqueComInterfaceMarshaller<IPluginSelfUpdate>))] out IPluginSelfUpdate? selfUpdate);
101+
void GetPluginSelfUpdater([MarshalUsing(typeof(ComInterfaceMarshaller<IPluginSelfUpdate>))] out IPluginSelfUpdate? selfUpdate);
102102
}

Management/PresetConfig/IPluginPresetConfig.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,24 +131,24 @@ public partial interface IPluginPresetConfig : IInitializableTask
131131
/// Gets an instance to the <see cref="ILauncherApiMedia"/>.
132132
/// </summary>
133133
/// <param name="result">The launcher Media API instance.</param>
134-
void comGet_LauncherApiMedia([MarshalUsing(typeof(UniqueComInterfaceMarshaller<ILauncherApiMedia>))] out ILauncherApiMedia? result);
134+
void comGet_LauncherApiMedia([MarshalUsing(typeof(ComInterfaceMarshaller<ILauncherApiMedia>))] out ILauncherApiMedia? result);
135135

136136
/// <summary>
137137
/// Gets an instance to the <see cref="ILauncherApiNews"/>.
138138
/// </summary>
139139
/// <param name="result">The launcher News API instance.</param>
140-
void comGet_LauncherApiNews([MarshalUsing(typeof(UniqueComInterfaceMarshaller<ILauncherApiNews>))] out ILauncherApiNews? result);
140+
void comGet_LauncherApiNews([MarshalUsing(typeof(ComInterfaceMarshaller<ILauncherApiNews>))] out ILauncherApiNews? result);
141141

142142
/// <summary>
143143
/// Gets an instance to the <see cref="IGameManager"/>
144144
/// </summary>
145145
/// <param name="result">The game manager instance.</param>
146-
void comGet_GameManager([MarshalUsing(typeof(UniqueComInterfaceMarshaller<IGameManager>))] out IGameManager? result);
146+
void comGet_GameManager([MarshalUsing(typeof(ComInterfaceMarshaller<IGameManager>))] out IGameManager? result);
147147

148148
/// <summary>
149149
/// Gets an instance to the <see cref="IGameInstaller"/> and <see cref="IGameUninstaller"/>
150150
/// </summary>
151151
/// <param name="result">The game installer and uninstaller instance.</param>
152-
void comGet_GameInstaller([MarshalUsing(typeof(UniqueComInterfaceMarshaller<IGameInstaller>))] out IGameInstaller? result);
152+
void comGet_GameInstaller([MarshalUsing(typeof(ComInterfaceMarshaller<IGameInstaller>))] out IGameInstaller? result);
153153
#endregion
154154
}

0 commit comments

Comments
 (0)