]> cygwin.com Git - cygwin-apps/setup.git/blame - desktop.h
2002-04-23 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / desktop.h
CommitLineData
b7301c43
RC
1#ifndef CINSTALL_DESKTOP_H
2#define CINSTALL_DESKTOP_H
3
4/*
5 * Copyright (c) 2001, Gary R. Van Sickle.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * A copy of the GNU General Public License can be found at
13 * http://www.gnu.org/
14 *
15 * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
16 *
17 */
18
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"
23
24class DesktopSetupPage:public PropertyPage
25{
26public:
27 DesktopSetupPage ()
28 {
29 };
30 virtual ~ DesktopSetupPage ()
31 {
32 };
33
34 bool Create ();
35
36 virtual void OnInit ();
37 virtual bool OnFinish ();
38 virtual long OnBack ();
39};
40
1be8f8fd
RC
41#include "Option.h"
42
43class NoShortcutsOption : public Option {
44public:
45 NoShortcutsOption();
46 virtual ~NoShortcutsOption();
47 virtual String const shortOption();
48 virtual struct option longOption();
49 virtual String const shortHelp();
50 virtual bool Process(char const *);
51
52 static NoShortcutsOption &GetInstance();
53
54 operator bool();
55private:
56 bool allowshortcuts;
57 static NoShortcutsOption Instance;
58};
59
60
b7301c43 61#endif // CINSTALL_DESKTOP_H
This page took 0.028917 seconds and 5 git commands to generate.