Table of Contents

Interface IWtmuxComPlugin2

Namespace
WTmux.Core.Plugins
Assembly
WTmux.Core.dll

Additive plugin interface (version 2) exposing a richer variable-expansion callback. A COM plugin that implements it receives the full pane/window context (current path, pid, title, flags, host, …) instead of only the indices provided to ExpandVariable(string, string, int, string, int, bool, out string). The host queries each plugin for this interface and calls ExpandVariable2(string, string, int, string, string, int, string, int, string, int, string, string, bool, out string) when present, falling back to ExpandVariable otherwise, so plugins that implement only IWtmuxComPlugin keep working.

[GeneratedComInterface(StringMarshalling = StringMarshalling.Utf16)]
[Guid("3A2F8E01-7B4C-4D5A-9E1F-0A2B3C4D5E05")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[IUnknownDerived<InterfaceInformation, InterfaceImplementation>]
public interface IWtmuxComPlugin2

Methods

ExpandVariable2(string, string, int, string, string, int, string, int, string, int, string, string, bool, out string)

Expands a format variable registered by this plugin, given the full pane/window context. Set result to empty string for names this plugin does not handle.

void ExpandVariable2(string variableName, string sessionName, int windowIndex, string windowName, string windowFlags, int paneIndex, string paneTitle, int panePid, string paneCurrentPath, int sessionWindows, string windowActivity, string host, bool prefixActive, out string result)

Parameters

variableName string
sessionName string
windowIndex int
windowName string
windowFlags string
paneIndex int
paneTitle string
panePid int
paneCurrentPath string
sessionWindows int
windowActivity string
host string
prefixActive bool
result string