BPicture: Fix archive constructor.
[haiku.git] / src / kits / package / hpkg / PackageEntry.cpp
blob5d12cfa3f253bc8d6c7ab0e47a2bf2d5303bb5cd
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
7 #include <package/hpkg/PackageEntry.h>
10 namespace BPackageKit {
12 namespace BHPKG {
15 BPackageEntry::BPackageEntry(BPackageEntry* parent, const char* name)
17 fParent(parent),
18 fName(name),
19 fUserToken(NULL),
20 fMode(S_IFREG | S_IRUSR | S_IRGRP | S_IROTH),
21 fSymlinkPath(NULL)
23 fAccessTime.tv_sec = 0;
24 fAccessTime.tv_nsec = 0;
25 fModifiedTime.tv_sec = 0;
26 fModifiedTime.tv_nsec = 0;
27 fCreationTime.tv_sec = 0;
28 fCreationTime.tv_nsec = 0;
32 } // namespace BHPKG
34 } // namespace BPackageKit