CVS: rdesktop/uiports qtwin.cpp,NONE,1.1
Jay Sorg <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop/uiports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8815
Added Files:
qtwin.cpp
Log Message:
added qtwin.cpp
--- NEW FILE: qtwin.cpp ---
/*
rdesktop: A Remote Desktop Protocol client.
User interface services - QT Window System
Copyright (C) Matthew Chapman 1999-2002
qtwin.cpp by Jay Sorg
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
[...1325 lines suppressed...]
g_tcp_port_rdp = strtol(in_argv[i + 1], &p, 10);
}
return 1;
}
/*****************************************************************************/
int main(int in_argc, char** in_argv)
{
get_username_and_hostname();
if (!parse_parameters(in_argc, in_argv))
return 0;
if (!ui_init())
return 1;
if (!ui_create_window())
return 1;
ui_main_loop();
ui_destroy_window();
ui_deinit();
return 0;
}
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND