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

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

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

revision 1.2 by castor_fou, Thu Sep 11 16:25:31 2003 UTC revision 1.3 by castor_fou, Tue Sep 16 20:25:36 2003 UTC
# Line 38  Line 38 
38    
39  #define FILE_USER "users.db"  #define FILE_USER "users.db"
40    
41    #define NB_RECORD 3
42    
43  /**  /**
44     Class c_password : a password is     Class c_password : a password is
45     a group of a passphrase and a     a group of a passphrase and a
# Line 47  Line 49 
49  class           c_password  class           c_password
50  {  {
51  public:  public:
52    c_password(std::string passphrase, std::string neuronal);    c_password(std::string passphrase, std::string neuronal, std::string passphrase_clear);
53    c_password();    c_password();
54    ~c_password(){};    ~c_password(){};
55    std::string get_passphrase(){return _passphrase;}    std::string get_passphrase(){return _passphrase;}
56      std::string get_passphrase_clear(){return _passphrase_clear;}
57    std::string get_neuronal(){return _neuronal_network_path;}    std::string get_neuronal(){return _neuronal_network_path;}
58      void set_passphrase_clear(std::string passphrase_clear){_passphrase_clear = passphrase_clear;}
59  private:  private:
60    std::string   _passphrase;    std::string   _passphrase;
61      std::string   _passphrase_clear;
62    std::string   _neuronal_network_path;    std::string   _neuronal_network_path;
63  };  };
64    
# Line 64  private: Line 69  private:
69  class                   c_user  class                   c_user
70  {  {
71  public:  public:
72    c_user(std::string name, std::string passphrase, std::string neuronal);    c_user(std::string name, std::string passphrase,
73             std::string neuronal, std::string passphrase_clear);
74    ~c_user();    ~c_user();
75    
76    std::string get_name_user(){return _name_user;}    std::string get_name_user(){return _name_user;}
# Line 78  private: Line 84  private:
84    
85  typedef std::map < int, c_user *> list_t;  typedef std::map < int, c_user *> list_t;
86    
87    //typedef double tab[10][12] double_t;
88    
89  /**  /**
90     Class c_list_user : a list of user is     Class c_list_user : a list of user is
91     is a map of user with the number of user     is a map of user with the number of user

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

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