]> cygwin.com Git - cygwin-apps/setup.git/blob - localdir.h
2003-07-27 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / localdir.h
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
16 #ifndef SETUP_LOCALDIR_H
17 #define SETUP_LOCALDIR_H
18
19 // This is the header for the LocalDirPage class. Allows the user to select
20 // the local package directory (i.e. where downloaded packages are stored).
21
22
23 #include "proppage.h"
24
25 class LocalDirPage:public PropertyPage
26 {
27 public:
28 LocalDirPage ()
29 {
30 };
31 virtual ~ LocalDirPage ()
32 {
33 };
34
35 bool Create ();
36
37 virtual void OnActivate ();
38 virtual long OnNext ();
39 virtual long OnBack ();
40 virtual long OnUnattended ()
41 {
42 return OnNext ();
43 };
44 };
45
46 #include "UserSetting.h"
47 class LocalDirSetting : public UserSetting
48 {
49 public:
50 virtual void load();
51 virtual void save();
52 };
53
54 #endif /* SETUP_LOCALDIR_H */
This page took 0.039799 seconds and 6 git commands to generate.