You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.6 KiB
49 lines
1.6 KiB
<AddIn name = "PInvoke Add-in" |
|
author = "Matt Ward" |
|
copyright = "prj:///doc/copyright.txt" |
|
description = "PInvoke.Net integration for SharpDevelop."> |
|
|
|
<Manifest> |
|
<Identity name = "ICSharpCode.PInvokeAddIn"/> |
|
<Dependency addin="SharpDevelop"/> |
|
</Manifest> |
|
|
|
<Runtime> |
|
<Import assembly="PInvokeAddIn.dll" /> |
|
</Runtime> |
|
|
|
<!-- Menu options --> |
|
<Path name="/SharpDevelop/Workbench/MainMenu/Edit/Insert"> |
|
<ComplexCondition action = "Disable"> |
|
<Or> |
|
<Condition name = "ActiveContentExtension" activeextension = ".vb"/> |
|
<Condition name = "ActiveContentExtension" activeextension = ".cs"/> |
|
</Or> |
|
<MenuItem id = "InsertPInvoke" |
|
label = "${res:ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesMenuLabel}" |
|
description = "Insert PInvoke signatures." |
|
class = "ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesCommand" |
|
/> |
|
</ComplexCondition> |
|
</Path> |
|
|
|
<!-- Right click in text editor menu option --> |
|
<Path name = "/SharpDevelop/ViewContent/DefaultTextEditor/ContextMenu"> |
|
|
|
<MenuItem id = "Separator4" |
|
type = "Separator" |
|
insertafter = "Options"/> |
|
|
|
<ComplexCondition action = "Disable"> |
|
<Or> |
|
<Condition name = "ActiveContentExtension" activeextension = ".vb"/> |
|
<Condition name = "ActiveContentExtension" activeextension = ".cs"/> |
|
</Or> |
|
<MenuItem id = "InsertPInvoke" |
|
label = "${res:ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesMenuLabel}" |
|
insertafter = "Separator4" |
|
class ="ICSharpCode.PInvokeAddIn.InsertPInvokeSignaturesCommand" |
|
/> |
|
</ComplexCondition> |
|
</Path> |
|
</AddIn>
|
|
|