/* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #include namespace BPackageKit { namespace BHaikuPackage { namespace BPrivate { PackageEntry::PackageEntry(PackageEntry* parent, const char* name) : fParent(parent), fName(name), fUserToken(NULL), fMode(S_IFREG | S_IRUSR | S_IRGRP | S_IROTH), fSymlinkPath(NULL) { fAccessTime.tv_sec = 0; fAccessTime.tv_nsec = 0; fModifiedTime.tv_sec = 0; fModifiedTime.tv_nsec = 0; fCreationTime.tv_sec = 0; fCreationTime.tv_nsec = 0; } } // namespace BPrivate } // namespace BHaikuPackage } // namespace BPackageKit