]>
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_LOCALDIR_H |
17 | #define SETUP_LOCALDIR_H | |
18 | ||
b7301c43 RC |
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: | |
daab12c7 | 28 | LocalDirPage (); |
b7301c43 RC |
29 | virtual ~ LocalDirPage () |
30 | { | |
31 | }; | |
32 | ||
33 | bool Create (); | |
34 | ||
35 | virtual void OnActivate (); | |
b7301c43 RC |
36 | virtual long OnNext (); |
37 | virtual long OnBack (); | |
f2ff9838 RC |
38 | virtual long OnUnattended () |
39 | { | |
40 | return OnNext (); | |
41 | }; | |
b7301c43 RC |
42 | }; |
43 | ||
f26f525f | 44 | class LocalDirSetting |
dea6cc21 RC |
45 | { |
46 | public: | |
f26f525f CF |
47 | LocalDirSetting (); |
48 | static void save (); | |
dea6cc21 | 49 | }; |
b7301c43 | 50 | |
c93bc6d0 | 51 | #endif /* SETUP_LOCALDIR_H */ |