Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

• rename hello: method to connectFromClientWithOptions: — a little ve…

…rbose, but definitely better than just hello: :)

git-svn-id: http://svn.textmate.org/branches/WIP/Tools/Dialog2@10555 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 21d68e809c2c499468c72bf8884900889c8fb166 1 parent 14ac7e4
Allan Odgaard authored September 13, 2008
2  Dialog2.h
@@ -4,7 +4,7 @@
4 4
 #define DialogServerConnectionName @"com.macromates.dialog"
5 5
 
6 6
 @protocol DialogServerProtocol
7  
-- (void)hello:(id)anArgument;
  7
+- (void)connectFromClientWithOptions:(id)anArgument;
8 8
 @end
9 9
 
10 10
 #ifndef enumerate
2  Dialog2.mm
@@ -62,7 +62,7 @@ - (void)dispatch:(id)options
62 62
 		[interface writeStringToError:@"unknown command, try help.\n"];
63 63
 }
64 64
 
65  
-- (void)hello:(id)options
  65
+- (void)connectFromClientWithOptions:(id)options
66 66
 {
67 67
 	[self performSelector:@selector(dispatch:) withObject:options afterDelay:0.0];
68 68
 }
2  tm_dialog2.mm
@@ -93,7 +93,7 @@ int main (int argc, char const* argv[])
93 93
 		nil
94 94
 	];
95 95
 
96  
-	[proxy hello:dict];
  96
+	[proxy connectFromClientWithOptions:dict];
97 97
 
98 98
 	int stdin_fd  = open_pipe(stdin_name, O_WRONLY);
99 99
 	int stdout_fd = open_pipe(stdout_name, O_RDONLY);

0 notes on commit 21d68e8

Please sign in to comment.
Something went wrong with that request. Please try again.