1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the OpenBeOS license.
5 // Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net
6 //----------------------------------------------------------------------
10 BDataIO wrapper around a given attribute for a file. (declarations)
20 class Attribute
: public BDataIO
{
22 Attribute(BNode
&node
, const char *attribute
);
23 virtual ssize_t
Read(void *buffer
, size_t size
);
24 virtual ssize_t
Write(const void *buffer
, size_t size
);
30 #endif // _ATTRIBUTE_H