2010-04-13 01:02:09 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2009-05-01 23:23:59 +04:00
|
|
|
#ifndef PROPERTY_FILE_H
|
|
|
|
#define PROPERTY_FILE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <File.h>
|
|
|
|
|
|
|
|
|
|
|
|
// This is the read-only version of the PropertyFile class - the
|
|
|
|
// genprops tool contains the write-only version of it
|
|
|
|
|
|
|
|
|
|
|
|
class PropertyFile : public BFile {
|
|
|
|
public:
|
|
|
|
status_t SetTo(const char *directory, const char *name);
|
|
|
|
|
|
|
|
off_t Size();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* PROPERTY_FILE_H */
|