00001 /* Copyright (C) 2007 by Marc Maurer <uwog@uwog.net> 00002 * 00003 * This program is free software; you can redistribute it and/or 00004 * modify it under the terms of the GNU General Public License 00005 * as published by the Free Software Foundation; either version 2 00006 * of the License, or (at your option) any later version. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00016 * 02110-1301 USA. 00017 */ 00018 00019 #ifndef __TCPUNIXACCOUNTHANDLER__ 00020 #define __TCPUNIXACCOUNTHANDLER__ 00021 00022 #include <backends/tcp/xp/TCPAccountHandler.h> 00023 00024 class TCPUnixAccountHandler : public TCPAccountHandler 00025 { 00026 public: 00027 TCPUnixAccountHandler(); 00028 00029 static AccountHandler* static_constructor(); 00030 00031 void eventGroupChanged(); 00032 00033 // dialog management 00034 virtual void embedDialogWidgets(void* pEmbeddingParent); 00035 virtual void removeDialogWidgets(void* pEmbeddingParent); 00036 virtual void loadProperties(); 00037 virtual void storeProperties(); 00038 00039 private: 00040 GtkWidget* vbox; 00041 GtkWidget* server_button; 00042 GtkWidget* client_button; 00043 GtkWidget* server_entry; 00044 GtkWidget* port_button; 00045 GtkWidget* allow_all_button; 00046 GtkWidget* autoconnect_button; 00047 }; 00048 00049 #endif /* __TCPUNIXACCOUNTHANDLER__ */