36 |
#include "misc.hh" |
#include "misc.hh" |
37 |
#include "language/language.hh" |
#include "language/language.hh" |
38 |
|
|
39 |
c_password::c_password(std::string passphrase, std::string neuronal) |
c_password::c_password(std::string passphrase, std::string neuronal, |
40 |
|
std::string passphrase_clear) |
41 |
{ |
{ |
42 |
_passphrase = passphrase; |
_passphrase = passphrase; |
43 |
|
_passphrase_clear = passphrase_clear; |
44 |
_neuronal_network_path = neuronal; |
_neuronal_network_path = neuronal; |
45 |
} |
} |
46 |
|
|
47 |
c_user::c_user(std::string name, std::string passphrase, std::string neuronal) |
c_user::c_user(std::string name, std::string passphrase, std::string neuronal, |
48 |
|
std::string passphrase_clear) |
49 |
{ |
{ |
50 |
_name_user = name; |
_name_user = name; |
51 |
_password = new c_password(passphrase, neuronal); |
_password = new c_password(passphrase, neuronal, passphrase_clear); |
52 |
} |
} |
53 |
|
|
54 |
c_user::~c_user() |
c_user::~c_user() |
75 |
// list_t::const_iterator i; |
// list_t::const_iterator i; |
76 |
|
|
77 |
std::cout << DELUSERCONFIRM << " " << YESNO; |
std::cout << DELUSERCONFIRM << " " << YESNO; |
78 |
answer = get_stdin(); |
answer = get_stdin("N"); |
79 |
std::cout << std::endl; |
std::cout << std::endl; |
80 |
if (answer == YES) |
if (answer == YES) |
81 |
{ |
{ |