Translated using Weblate (Chinese (Simplified))
[cygwin-setup.git] / desktop.h
blobd4ce72def7571593ca8f9dda3297a93407711823
1 /*
2 * Copyright (c) 2001, Gary R. Van Sickle.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
12 * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
16 #ifndef SETUP_DESKTOP_H
17 #define SETUP_DESKTOP_H
19 // This is the header for the DesktopSetupPage class. Allows selection
20 // of "create desktop icon" and "add to start menu".
22 #include "proppage.h"
23 #include "getopt++/BoolOption.h"
25 // WM_APP through WM_APP+7: see threebar.h
26 #define WM_APP_UNATTENDED_FINISH WM_APP+8
28 class DesktopSetupPage:public PropertyPage
30 public:
31 DesktopSetupPage ();
32 virtual ~ DesktopSetupPage ()
36 bool Create ();
38 virtual void OnInit ();
39 virtual void OnActivate ();
40 virtual bool OnFinish ();
41 virtual long OnBack ();
42 virtual long OnUnattended ();
43 virtual bool OnMessageApp (UINT uMsg, WPARAM wParam, LPARAM lParam);
46 const char *startmenusuffix();
48 extern BoolOption NoShortcutsOption;
49 extern BoolOption NoStartMenuOption;
51 #endif /* SETUP_DESKTOP_H */