/[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.2 by castor_fou, Thu Sep 11 14:08:43 2003 UTC revision 1.3 by castor_fou, Thu Sep 11 16:25:31 2003 UTC
# Line 1  Line 1 
1  //  /******************************************************************
2  // user.cc for marvin_gui in /home/castor/epita/marvin_gui  * [Marvin Projet - GUI based on LibSIP, LibNN and gpgme
3  //  * Copyright (C) 2002 - 2003  PARMANTIER Romain
4  // Made by C@stor  *
5  // Login   <castor@epita.fr>  * This program is free software; you can redistribute it and/or
6  //  * modify it under the terms of the GNU General Public License
7  // Started on  Wed Aug 27 19:38:57 2003 C@stor  * as published by the Free Software Foundation; either version 2
8  // Last update Thu Sep 11 16:07:36 2003 C@stor  * of the License, or (at your option) any later version. This
9  //  * program is distributed in the hope that it will be useful,
10    * but WITHOUT ANY WARRANTY; without even the implied warranty of
11    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12    * GNU General Public License for more details. You should have
13    * received a copy of the GNU General Public License
14    * along with this program; if not, write to the Free Software
15    * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
16    * USA.
17    *
18    *  SPECIAL NOTE (the beerware clause):
19    *  This software is free software. However, it also falls under the beerware
20    *  special category. That is, if you find this software useful, or use it
21    *  every day, or want to grant us for our modest contribution to the
22    *  free software community, feel free to send us a beer from one of
23    *  your local brewery. Our preference goes to Belgium abbey beers and
24    *  irish stout (Guiness for strength!), but we like to try new stuffs.
25    *
26    * Authors:
27    *
28    * PARMANTIER Romain
29    * Paper mail :
30    * E-mail : romain.parmantier@loutor.org
31    *
32    *******************************************************************/
33  #include <iostream>  #include <iostream>
34    
35  #include "user.hh"  #include "user.hh"
# Line 54  int c_list_user::del_user(int id_user) Line 76  int c_list_user::del_user(int id_user)
76    std::cout << std::endl;    std::cout << std::endl;
77    if (answer == YES)    if (answer == YES)
78      {      {
         
79        //i = _list_user.find(id_user);        //i = _list_user.find(id_user);
80        //std::cout << "Utilisateur à supprimer : " << ((*i).second)->get_name_user() << std::endl;        //std::cout << "Utilisateur à supprimer : " << ((*i).second)->get_name_user() << std::endl;
81        _list_user.erase(id_user);        _list_user.erase(id_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