Revision 24167,
1.4 KB
checked in by broder, 15 years ago
(diff) |
Import schroot upstream into subversion.
|
Line | |
---|
1 | /* Copyright © 2005-2007 Roger Leigh <rleigh@debian.org> |
---|
2 | * |
---|
3 | * schroot is free software: you can redistribute it and/or modify it |
---|
4 | * under the terms of the GNU General Public License as published by |
---|
5 | * the Free Software Foundation, either version 3 of the License, or |
---|
6 | * (at your option) any later version. |
---|
7 | * |
---|
8 | * schroot is distributed in the hope that it will be useful, but |
---|
9 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
11 | * General Public License for more details. |
---|
12 | * |
---|
13 | * You should have received a copy of the GNU General Public License |
---|
14 | * along with this program. If not, see |
---|
15 | * <http://www.gnu.org/licenses/>. |
---|
16 | * |
---|
17 | *********************************************************************/ |
---|
18 | |
---|
19 | #ifndef DCHROOT_DSA_MAIN_H |
---|
20 | #define DCHROOT_DSA_MAIN_H |
---|
21 | |
---|
22 | #include <dchroot/dchroot-main-base.h> |
---|
23 | |
---|
24 | namespace dchroot_dsa |
---|
25 | { |
---|
26 | |
---|
27 | /** |
---|
28 | * Frontend for dchroot-dsa. This class is used to "run" dchroot-dsa. |
---|
29 | */ |
---|
30 | class main : public dchroot::main_base |
---|
31 | { |
---|
32 | public: |
---|
33 | /** |
---|
34 | * The constructor. |
---|
35 | * |
---|
36 | * @param options the command-line options to use. |
---|
37 | */ |
---|
38 | main (schroot::options_base::ptr& options); |
---|
39 | |
---|
40 | /// The destructor. |
---|
41 | virtual ~main (); |
---|
42 | |
---|
43 | protected: |
---|
44 | virtual void |
---|
45 | load_config(); |
---|
46 | |
---|
47 | virtual void |
---|
48 | create_session (sbuild::session::operation sess_op); |
---|
49 | }; |
---|
50 | |
---|
51 | } |
---|
52 | |
---|
53 | #endif /* DCHROOT_DSA_MAIN_H */ |
---|
54 | |
---|
55 | /* |
---|
56 | * Local Variables: |
---|
57 | * mode:C++ |
---|
58 | * End: |
---|
59 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.