add the beginnings of ipc to the mac front end

This commit is contained in:
Mitchell Livingston
2007-05-28 02:27:13 +00:00
parent f156e2bf27
commit b679945ea6
11 changed files with 1189 additions and 9 deletions

View File

@@ -248,6 +248,7 @@ usage( const char * msg, ... )
" -S --stop all Stop all running torrents\n"
" -t --type daemon Use the daemon frontend, transmission-daemon\n"
" -t --type gtk Use the GTK+ frontend, transmission-gtk\n"
" -t --type mac Use the MacOS X frontend\n"
" -u --upload-limit <int> Max upload rate in KiB/s\n"
" -U --upload-unlimited No upload rate limit\n"
" -x --proxy Use proxy command to connect to frontend\n",
@@ -373,6 +374,14 @@ readargs( int argc, char ** argv, struct opts * opts )
opts->type = CONF_PATH_TYPE_GTK;
opts->sock = NULL;
}
else if( 0 == strcasecmp( "mac", optarg ) ||
0 == strcasecmp( "osx", optarg ) ||
0 == strcasecmp( "macos", optarg ) ||
0 == strcasecmp( "macosx", optarg ) )
{
opts->type = CONF_PATH_TYPE_OSX;
opts->sock = NULL;
}
else
{
opts->sock = optarg;