Skip to content

Commit 8591eff

Browse files
committed
Bugfix: include missing scripting method definitions
1 parent 5ddbcd1 commit 8591eff

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

GitX.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
* GitX Suite
7878
*/
7979

80+
// The GitX application.
81+
@interface GitXApplication (GitXSuite)
82+
83+
@end
84+
8085
// A document.
8186
@interface GitXDocument (GitXSuite)
8287

GitX.sdef

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,18 @@
183183
</parameter>
184184
</command>
185185

186+
<class-extension extends="application" description="The GitX application.">
187+
<responds-to name="show diff">
188+
<cocoa method="showDiffScriptCommand:"/>
189+
</responds-to>
190+
<responds-to name="init repository">
191+
<cocoa method="initRepositoryScriptCommand:"/>
192+
</responds-to>
193+
<responds-to name="clone repository">
194+
<cocoa method="cloneRepositoryScriptCommand:"/>
195+
</responds-to>
196+
</class-extension>
197+
186198
<class-extension extends="document" code="docu" description="A document.">
187199
<cocoa class="PBGitRepository"/>
188200
<responds-to name="search">

0 commit comments

Comments
 (0)