00001 /*! 00002 * \file PasswordGroupGtkMenuElement.h 00003 * \brief Defines the branch element of the password composite 00004 * in a GtkMenu form 00005 * 00006 * \author Frederic RUAUDEL <grumz@users.sf.net> 00007 * 00008 * $Revision: 1.1.1.1 $ 00009 * $Date: 2003/02/27 12:19:50 $ 00010 * 00011 * \b GPassGuard 00012 * Copyleft (c) 2003 Frederic RUAUDEL, all rights reversed 00013 * 00014 * This program is free software which I release under the GNU General Public 00015 * License. You may redistribute and/or modify this program under the terms 00016 * of that license as published by the Free Software Foundation; either 00017 * version 2 of the License, or (at your option) any later version. 00018 * 00019 * This program is distributed in the hope that it will be useful, 00020 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00022 * GNU General Public License for more details. Version 2 is in the 00023 * COPYING file in the top level directory of this distribution. 00024 * 00025 * To get a copy of the GNU General Public License, write to the Free Software 00026 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00027 **/ 00028 00029 #ifndef PASSWORD_GROUP_GTK_MENU_ELEMENT_H 00030 #define PASSWORD_GROUP_GTK_MENU_ELEMENT_H 00031 00032 #include <gtk/gtk.h> 00033 #include <GpgGtkMenuElement.h> 00034 #include <Passguard.h> 00035 00036 using namespace std; 00037 00038 /*! 00039 * \brief branch element of the password composite in a GtkMenu form 00040 **/ 00041 class PasswordGroupGtkMenuElement : public GpgGtkMenuElement, public PasswordGroupElement 00042 { 00043 public: 00044 PasswordGroupGtkMenuElement (string name, int deepness); 00045 00046 virtual ~PasswordGroupGtkMenuElement (); 00047 00048 virtual bool addElement (PasswordTreeElement* element); 00049 }; 00050 00051 #endif /* PASSWORD_GROUP_GTK_MENU_ELEMENT_H */
1.2.15