]>
Commit | Line | Data |
---|---|---|
b7301c43 RC |
1 | /* |
2 | * Copyright (c) 2001, Gary R. Van Sickle. | |
3 | * | |
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. | |
8 | * | |
9 | * A copy of the GNU General Public License can be found at | |
10 | * http://www.gnu.org/ | |
11 | * | |
12 | * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> | |
13 | * | |
14 | */ | |
15 | ||
c93bc6d0 MB |
16 | #ifndef SETUP_DESKTOP_H |
17 | #define SETUP_DESKTOP_H | |
18 | ||
b7301c43 RC |
19 | // This is the header for the DesktopSetupPage class. Allows selection |
20 | // of "create desktop icon" and "add to start menu". | |
21 | ||
22 | #include "proppage.h" | |
7b640934 | 23 | #include "getopt++/BoolOption.h" |
b7301c43 | 24 | |
f2ff9838 RC |
25 | // WM_APP through WM_APP+7: see threebar.h |
26 | #define WM_APP_UNATTENDED_FINISH WM_APP+8 | |
27 | ||
b7301c43 RC |
28 | class DesktopSetupPage:public PropertyPage |
29 | { | |
30 | public: | |
7b21a88e | 31 | DesktopSetupPage (); |
b7301c43 RC |
32 | virtual ~ DesktopSetupPage () |
33 | { | |
34 | }; | |
35 | ||
36 | bool Create (); | |
37 | ||
38 | virtual void OnInit (); | |
6c8daadf | 39 | virtual void OnActivate (); |
b7301c43 RC |
40 | virtual bool OnFinish (); |
41 | virtual long OnBack (); | |
f2ff9838 RC |
42 | virtual long OnUnattended (); |
43 | virtual bool OnMessageApp (UINT uMsg, WPARAM wParam, LPARAM lParam); | |
b7301c43 RC |
44 | }; |
45 | ||
c8ea8d6c JT |
46 | const char *startmenusuffix(); |
47 | ||
7b640934 JT |
48 | extern BoolOption NoShortcutsOption; |
49 | extern BoolOption NoStartMenuOption; | |
50 | ||
c93bc6d0 | 51 | #endif /* SETUP_DESKTOP_H */ |