aboutsummaryrefslogtreecommitdiff
path: root/People.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-12 14:18:05 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-12 14:18:05 +0200
commit1a30375e369d2d872cb3fd6ecdc6019136c7b1a4 (patch)
tree3077761b96e733fb64be803f04497c44597fe965 /People.h
parente113e6e65be07ab31d69243bd8d219d2bc02d094 (diff)
deserialize and display artists
Diffstat (limited to 'People.h')
-rw-r--r--People.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/People.h b/People.h
index aecf120..5b3728c 100644
--- a/People.h
+++ b/People.h
@@ -1,16 +1,24 @@
#pragma once
-#include <memory>
#include <vector>
+#include <string>
#include "Artist.h"
#include "ArtistData.h"
class People {
public:
+ People() = default;
+ virtual ~People();
+ std::string to_string();
+
+public:
void add_artist(ArtistData data);
+ Artist & get_artist(size_t index);
+ size_t artists_size();
+
private:
- std::vector<Artist*> artists;
+ std::vector<Artist *> artists;
};