1294 |
14 Nov 10 |
peter |
1 |
#ifndef _theplu_svndigest_svndigest_copy_cache_parameter_ |
1294 |
14 Nov 10 |
peter |
2 |
#define _theplu_svndigest_svndigest_copy_cache_parameter_ |
1294 |
14 Nov 10 |
peter |
3 |
|
1294 |
14 Nov 10 |
peter |
// $Id$ |
1294 |
14 Nov 10 |
peter |
5 |
|
1294 |
14 Nov 10 |
peter |
6 |
/* |
1635 |
30 Mar 23 |
peter |
Copyright (C) 2010 Peter Johansson |
1294 |
14 Nov 10 |
peter |
8 |
|
1294 |
14 Nov 10 |
peter |
This file is part of svndigest, http://dev.thep.lu.se/svndigest |
1294 |
14 Nov 10 |
peter |
10 |
|
1294 |
14 Nov 10 |
peter |
svndigest is free software; you can redistribute it and/or modify it |
1294 |
14 Nov 10 |
peter |
under the terms of the GNU General Public License as published by |
1294 |
14 Nov 10 |
peter |
the Free Software Foundation; either version 3 of the License, or |
1294 |
14 Nov 10 |
peter |
(at your option) any later version. |
1294 |
14 Nov 10 |
peter |
15 |
|
1294 |
14 Nov 10 |
peter |
svndigest is distributed in the hope that it will be useful, but |
1294 |
14 Nov 10 |
peter |
WITHOUT ANY WARRANTY; without even the implied warranty of |
1294 |
14 Nov 10 |
peter |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1294 |
14 Nov 10 |
peter |
General Public License for more details. |
1294 |
14 Nov 10 |
peter |
20 |
|
1294 |
14 Nov 10 |
peter |
You should have received a copy of the GNU General Public License |
1294 |
14 Nov 10 |
peter |
along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
1294 |
14 Nov 10 |
peter |
23 |
*/ |
1294 |
14 Nov 10 |
peter |
24 |
|
1294 |
14 Nov 10 |
peter |
25 |
#include "Parameter.h" |
1294 |
14 Nov 10 |
peter |
26 |
|
1294 |
14 Nov 10 |
peter |
27 |
#include "lib/OptionVersion.h" |
1294 |
14 Nov 10 |
peter |
28 |
|
1294 |
14 Nov 10 |
peter |
29 |
#include "yat/CommandLine.h" |
1294 |
14 Nov 10 |
peter |
30 |
#include "yat/OptionArg.h" |
1294 |
14 Nov 10 |
peter |
31 |
|
1294 |
14 Nov 10 |
peter |
32 |
#include <string> |
1294 |
14 Nov 10 |
peter |
33 |
|
1294 |
14 Nov 10 |
peter |
34 |
namespace theplu { |
1294 |
14 Nov 10 |
peter |
35 |
namespace svndigest { |
1294 |
14 Nov 10 |
peter |
36 |
|
1294 |
14 Nov 10 |
peter |
// class for command line options. |
1513 |
23 Sep 12 |
peter |
38 |
class svndigest_copy_cacheParameter : public AbstractParameter |
1294 |
14 Nov 10 |
peter |
39 |
{ |
1294 |
14 Nov 10 |
peter |
40 |
public: |
1294 |
14 Nov 10 |
peter |
41 |
svndigest_copy_cacheParameter(void); |
1294 |
14 Nov 10 |
peter |
42 |
virtual ~svndigest_copy_cacheParameter(void); |
1294 |
14 Nov 10 |
peter |
/// @return absolute path to target directory |
1294 |
14 Nov 10 |
peter |
44 |
std::string target(void) const; |
1294 |
14 Nov 10 |
peter |
45 |
private: |
1294 |
14 Nov 10 |
peter |
46 |
void analyse1(void); |
1294 |
14 Nov 10 |
peter |
47 |
void init1(void); |
1294 |
14 Nov 10 |
peter |
48 |
void set_default1(void); |
1294 |
14 Nov 10 |
peter |
49 |
yat::utility::OptionArg<std::string> target_; |
1513 |
23 Sep 12 |
peter |
50 |
|
1294 |
14 Nov 10 |
peter |
51 |
}; |
1294 |
14 Nov 10 |
peter |
52 |
|
1294 |
14 Nov 10 |
peter |
53 |
}} // of namespace svndigest and namespace theplu |
1294 |
14 Nov 10 |
peter |
54 |
|
1294 |
14 Nov 10 |
peter |
55 |
#endif |