sbuild
1.7.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
lib
sbuild
chroot
facet
storage.h
1
/* Copyright © 2005-2013 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 SBUILD_CHROOT_FACET_STORAGE_H
20
#define SBUILD_CHROOT_FACET_STORAGE_H
21
22
#include <sbuild/chroot/chroot.h>
23
#include <sbuild/chroot/facet/facet.h>
24
25
#include <string>
26
27
namespace
sbuild
28
{
29
namespace
chroot
30
{
31
namespace
facet
32
{
33
39
class
storage
40
{
41
public
:
43
typedef
std::shared_ptr<storage>
ptr
;
44
46
typedef
std::shared_ptr<const storage>
const_ptr
;
47
48
protected
:
50
storage
();
51
52
public
:
54
virtual
~storage
();
55
64
virtual
std::string
65
get_path
()
const
= 0;
66
67
virtual
void
68
setup_lock(
chroot::setup_type
type,
69
bool
lock
,
70
int
status);
71
72
};
73
74
}
75
}
76
}
77
78
#endif
/* SBUILD_CHROOT_FACET_STORAGE_H */
79
80
/*
81
* Local Variables:
82
* mode:C++
83
* End:
84
*/
Generated on Wed Oct 2 2013 10:21:07 for sbuild by
1.8.4