/[marvin]/marvin/src/gui/user.cc
ViewVC logotype

Diff of /marvin/src/gui/user.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by castor_fou, Thu Sep 11 16:25:31 2003 UTC revision 1.4 by castor_fou, Tue Sep 16 20:25:36 2003 UTC
# Line 36  Line 36 
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()
# Line 72  int c_list_user::del_user(int id_user) Line 75  int c_list_user::del_user(int id_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      {      {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26