2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
5 #ifndef _PACKAGE__PRIVATE__TEMPFILE_MANAGER_H_
6 #define _PACKAGE__PRIVATE__TEMPFILE_MANAGER_H_
12 #include <SupportDefs.h>
15 namespace BPackageKit
{
20 class TempfileManager
{
25 void SetBaseDirectory(const BDirectory
& baseDir
);
27 BEntry
Create(const BString
& baseName
= kDefaultName
);
30 static const BString kDefaultName
;
33 BDirectory fBaseDirectory
;
38 } // namespace BPrivate
40 } // namespace BPackageKit
43 #endif // _PACKAGE__PRIVATE__TEMPFILE_MANAGER_H_