Restructuring project
This commit is contained in:
1 parent
3864be1f85
commit
8fa965823a
34 files changed
+292
-47
No files matched your search
@@ -1,2 +1,20 @@
|
||||
# Provides an abstract class for resources that may be stored in the database
|
||||
class Resource;
|
||||
#ifndef RESOURCE_HPP
|
||||
#define RESOURCE_HPP
|
||||
|
||||
#include <string>
|
||||
#include "Serialize.hpp"
|
||||
namespace DistriNS {
|
||||
namespace Core {
|
||||
|
||||
using std::string;
|
||||
|
||||
// Provides an abstract class for resources that may be stored in the ledger
|
||||
class Resource : public Serialize
|
||||
{
|
||||
public:
|
||||
virtual string serialize() const = 0;
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user