Skip to content

Commit

Permalink
• rename hello: method to connectFromClientWithOptions: — a little ve…
Browse files Browse the repository at this point in the history
…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
sorbits committed Sep 13, 2008
1 parent 14ac7e4 commit 21d68e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dialog2.h
Expand Up @@ -4,7 +4,7 @@
#define DialogServerConnectionName @"com.macromates.dialog" #define DialogServerConnectionName @"com.macromates.dialog"


@protocol DialogServerProtocol @protocol DialogServerProtocol
- (void)hello:(id)anArgument; - (void)connectFromClientWithOptions:(id)anArgument;
@end @end


#ifndef enumerate #ifndef enumerate
Expand Down
2 changes: 1 addition & 1 deletion Dialog2.mm
Expand Up @@ -62,7 +62,7 @@ - (void)dispatch:(id)options
[interface writeStringToError:@"unknown command, try help.\n"]; [interface writeStringToError:@"unknown command, try help.\n"];
} }


- (void)hello:(id)options - (void)connectFromClientWithOptions:(id)options
{ {
[self performSelector:@selector(dispatch:) withObject:options afterDelay:0.0]; [self performSelector:@selector(dispatch:) withObject:options afterDelay:0.0];
} }
Expand Down
2 changes: 1 addition & 1 deletion tm_dialog2.mm
Expand Up @@ -93,7 +93,7 @@ int main (int argc, char const* argv[])
nil nil
]; ];


[proxy hello:dict]; [proxy connectFromClientWithOptions:dict];


int stdin_fd = open_pipe(stdin_name, O_WRONLY); int stdin_fd = open_pipe(stdin_name, O_WRONLY);
int stdout_fd = open_pipe(stdout_name, O_RDONLY); int stdout_fd = open_pipe(stdout_name, O_RDONLY);
Expand Down

0 comments on commit 21d68e8

Please sign in to comment.