User credentials are saved and retrieved from the SQLite database. Next I want to retrieve all songs from icarus and return it to java/kotlin. Some code cleanup

This commit is contained in:
kdeng00
2019-10-07 21:44:20 -04:00
parent bb6b08cf1a
commit 9483c6b834
26 changed files with 601 additions and 637 deletions
+6 -1
View File
@@ -5,13 +5,18 @@
#ifndef MEAR_USER_H
#define MEAR_USER_H
#include <string>
#include <utility>
namespace model {
struct User
class User
{
public:
User() = default;
User(const std::string& user, const std::string& pass) :
username(user), password(pass) { }
User(const std::string&& user, const std::string&& pass) :
username(std::move(user)), password(std::move(pass)) {}
std::string username;
std::string password;