00001 /* Copyright (C) 2010 AbiSource Corporation B.V. 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 __SIPSIMPLEUNIXACCOUNTHANDLER__ 00020 #define __SIPSIMPLEUNIXACCOUNTHANDLER__ 00021 00022 #include "gtk/gtk.h" 00023 #include <backends/sipsimple/xp/SIPSimpleAccountHandler.h> 00024 00025 class SIPSimpleUnixAccountHandler : public SIPSimpleAccountHandler 00026 { 00027 public: 00028 SIPSimpleUnixAccountHandler(); 00029 static AccountHandler * static_constructor(); 00030 00031 // dialog management 00032 virtual void embedDialogWidgets(void* pEmbeddingParent); 00033 virtual void removeDialogWidgets(void* pEmbeddingParent); 00034 virtual void loadProperties(); 00035 virtual void storeProperties(); 00036 00037 private: 00038 // dialog management 00039 GtkWidget* table; 00040 GtkWidget* address_entry; 00041 GtkWidget* password_entry; 00042 GtkWidget* proxy_entry; 00043 GtkWidget* autoconnect_button; 00044 }; 00045 00046 #endif /* __SIPSIMPLEUNIXACCOUNTHANDLER__ */