Molybden API
Loading...
Searching...
No Matches
user_profiles.hpp
1// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_USER_DATA_PROFILES_HPP
6#define MOLYBDEN_USER_DATA_PROFILES_HPP
7
8#include <vector>
9#include <memory>
10
11namespace molybden {
12
13class Profile;
14class UserProfile;
15
20 public:
21 virtual ~UserProfiles() = default;
22
26 virtual std::shared_ptr<Profile> profile() = 0;
27
31 virtual std::vector<UserProfile> list() = 0;
32
38 virtual void removeProfile(const UserProfile& profile) = 0;
39
43 virtual void clear() = 0;
44};
45
46} // namespace molybden
47
48#endif // MOLYBDEN_USER_DATA_PROFILES_HPP
A user profile store.
Definition user_profiles.hpp:19
virtual void removeProfile(const UserProfile &profile)=0
Removes the given user profile from this store.
virtual void clear()=0
Clears all records in the store.
virtual std::vector< UserProfile > list()=0
Returns all user profile records in this store.
virtual std::shared_ptr< Profile > profile()=0
The profile of this store.
The collected data entered by the user to a form and persisted to the user data store.
Definition user_profile.hpp:16