Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / bin / makeudfimage / Attribute.h
blob2a6f0c0697aeb957f209f04f0b851a62da221ef6
1 //----------------------------------------------------------------------
2 // This software is part of the OpenBeOS distribution and is covered
3 // by the OpenBeOS license.
4 //
5 // Copyright (c) 2003 Tyler Dauwalder, tyler@dauwalder.net
6 //----------------------------------------------------------------------
8 /*! \file Attribute.h
10 BDataIO wrapper around a given attribute for a file. (declarations)
13 #ifndef _ATTRIBUTE_H
14 #define _ATTRIBUTE_H
16 #include <DataIO.h>
17 #include <Node.h>
18 #include <string>
20 class Attribute : public BDataIO {
21 public:
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);
25 private:
26 BNode fNode;
27 string fAttribute;
30 #endif // _ATTRIBUTE_H