diff options
Diffstat (limited to 'database.h')
-rw-r--r-- | database.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/database.h b/database.h index a616318..9dcb118 100644 --- a/database.h +++ b/database.h | |||
@@ -12,6 +12,11 @@ struct achievement { | |||
12 | std::string color; | 12 | std::string color; |
13 | }; | 13 | }; |
14 | 14 | ||
15 | struct did { | ||
16 | int profileId; | ||
17 | std::string date; | ||
18 | }; | ||
19 | |||
15 | class database { | 20 | class database { |
16 | public: | 21 | public: |
17 | 22 | ||
@@ -43,6 +48,8 @@ public: | |||
43 | 48 | ||
44 | std::string getRandomImageForGame(int gameId) const; | 49 | std::string getRandomImageForGame(int gameId) const; |
45 | 50 | ||
51 | did getRandomDidForAchievement(int achievementId) const; | ||
52 | |||
46 | private: | 53 | private: |
47 | 54 | ||
48 | database() = default; | 55 | database() = default; |