home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / include / pidgin / gtkaccount.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-04  |  2.0 KB  |  82 lines

  1. /**
  2.  * @file gtkaccount.h GTK+ Account Editor UI
  3.  * @ingroup pidgin
  4.  *
  5.  * pidgin
  6.  *
  7.  * Pidgin is the legal property of its developers, whose names are too numerous
  8.  * to list here.  Please refer to the COPYRIGHT file distributed with this
  9.  * source distribution.
  10.  *
  11.  * This program is free software; you can redistribute it and/or modify
  12.  * it under the terms of the GNU General Public License as published by
  13.  * the Free Software Foundation; either version 2 of the License, or
  14.  * (at your option) any later version.
  15.  *
  16.  * This program is distributed in the hope that it will be useful,
  17.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19.  * GNU General Public License for more details.
  20.  *
  21.  * You should have received a copy of the GNU General Public License
  22.  * along with this program; if not, write to the Free Software
  23.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  24.  */
  25. #ifndef _PIDGINACCOUNT_H_
  26. #define _PIDGINACCOUNT_H_
  27.  
  28. #include "account.h"
  29.  
  30. typedef enum
  31. {
  32.     PIDGIN_ADD_ACCOUNT_DIALOG,
  33.     PIDGIN_MODIFY_ACCOUNT_DIALOG
  34.  
  35. } PidginAccountDialogType;
  36.  
  37.  
  38. /**
  39.  * Shows the accounts window.
  40.  */
  41. void pidgin_accounts_window_show(void);
  42.  
  43. /**
  44.  * Hides the accounts window.
  45.  */
  46. void pidgin_accounts_window_hide(void);
  47.  
  48. /**
  49.  * Shows an add/modify account dialog.
  50.  *
  51.  * @param type    The type of dialog.
  52.  * @param account The associated account, or @c NULL for an Add dialog.
  53.  */
  54. void pidgin_account_dialog_show(PidginAccountDialogType type,
  55.                                   PurpleAccount *account);
  56.  
  57. /**
  58.  * Returns the GTK+ account UI ops
  59.  *
  60.  * @return The UI operations structure.
  61.  */
  62. PurpleAccountUiOps *pidgin_accounts_get_ui_ops(void);
  63.  
  64. /**
  65.  * Returns the gtkaccounts handle
  66.  *
  67.  * @return The handle to the GTK+ account system
  68.  */
  69. void *pidgin_account_get_handle(void);
  70.  
  71. /**
  72.  * Initializes the GTK+ account system
  73.  */
  74. void pidgin_account_init(void);
  75.  
  76. /**
  77.  * Uninitializes the GTK+ account system
  78.  */
  79. void pidgin_account_uninit(void);
  80.  
  81. #endif /* _PIDGINACCOUNT_H_ */
  82.