30 lines
535 B
Plaintext
30 lines
535 B
Plaintext
// Copyright (C) 2010, Guy Barrand. All rights reserved.
|
|
// See the file tools.license for terms.
|
|
|
|
#ifndef tools_wroot_iobject
|
|
#define tools_wroot_iobject
|
|
|
|
#include <string>
|
|
|
|
namespace tools {
|
|
namespace wroot {
|
|
class buffer;
|
|
}}
|
|
|
|
namespace tools {
|
|
namespace wroot {
|
|
|
|
class iobject {
|
|
public:
|
|
virtual ~iobject() {}
|
|
public:
|
|
virtual const std::string& name() const = 0;
|
|
virtual const std::string& title() const = 0;
|
|
virtual const std::string& store_class_name() const = 0;
|
|
virtual bool stream(buffer&) const = 0;
|
|
};
|
|
|
|
}}
|
|
|
|
#endif
|