6 * Written by Keith Marshall <keithmarshall@users.sourceforge.net>
\r
7 * Derived from stub by Sze Howe Koh <axfangli@users.sourceforge.net>
\r
8 * Copyright (C) 2011, MinGW Project
\r
11 * Implementation of the GUI main program function, which is invoked
\r
12 * by the command line start-up stub when invoked without arguments.
\r
13 * Alternatively, it may be invoked directly from a desktop shortcut,
\r
14 * a launch bar shortcut or a menu entry. In any of these cases, it
\r
15 * causes mingw-get to run as a GUI process.
\r
18 * This is free software. Permission is granted to copy, modify and
\r
19 * redistribute this software, under the provisions of the GNU General
\r
20 * Public License, Version 3, (or, at your option, any later version),
\r
21 * as published by the Free Software Foundation; see the file COPYING
\r
22 * for licensing details.
\r
24 * Note, in particular, that this software is provided "as is", in the
\r
25 * hope that it may prove useful, but WITHOUT WARRANTY OF ANY KIND; not
\r
26 * even an implied WARRANTY OF MERCHANTABILITY, nor of FITNESS FOR ANY
\r
27 * PARTICULAR PURPOSE. Under no circumstances will the author, or the
\r
28 * MinGW Project, accept liability for any damages, however caused,
\r
29 * arising from the use of this software.
\r
32 #include <windows.h>
\r
34 int APIENTRY WinMain
\r
35 ( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )
\r
37 /* FIXME: this implementation is a stub, adapted from sample code
\r
38 * provided by Sze Howe Koh <axfangli@users.sourceforge.net>. It
\r
39 * does no more than display a message box indicating that GUI mode
\r
40 * is not yet supported, and directing users to use the CLI version
\r
41 * instead. Ultimately, this will be replaced by a functional GUI
\r
45 "The GUI for mingw-get is not yet available.\n"
\r
46 "Please use the command line version; for instructions,\n"
\r
49 " mingw-get --help\n\n"
\r
51 "at your preferred CLI prompt.",
\r
52 "Feature Unavailable",
\r
58 /* $RCSfile$: end of file */
\r