#include <glib.h>
#include "prefs.h"
Include dependency graph for pluginpref.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef _GaimPluginPrefFrame | GaimPluginPrefFrame |
typedef _GaimPluginPref | GaimPluginPref |
Enumerations | |
enum | GaimPluginPrefType { GAIM_PLUGIN_PREF_NONE, GAIM_PLUGIN_PREF_CHOICE, GAIM_PLUGIN_PREF_INFO } |
Functions | |
Plugin Preference API | |
GaimPluginPrefFrame * | gaim_plugin_pref_frame_new () |
Create a new plugin preference frame. | |
void | gaim_plugin_pref_frame_destroy (GaimPluginPrefFrame *frame) |
Destroy a plugin preference frame. | |
void | gaim_plugin_pref_frame_add (GaimPluginPrefFrame *frame, GaimPluginPref *pref) |
Adds a plugin preference to a plugin preference frame. | |
GList * | gaim_plugin_pref_frame_get_prefs (GaimPluginPrefFrame *frame) |
Get the plugin preferences from a plugin preference frame. | |
GaimPluginPref * | gaim_plugin_pref_new () |
Create a new plugin preference. | |
GaimPluginPref * | gaim_plugin_pref_new_with_name (char *name) |
Create a new plugin preference with name. | |
GaimPluginPref * | gaim_plugin_pref_new_with_label (char *label) |
Create a new plugin preference with label. | |
GaimPluginPref * | gaim_plugin_pref_new_with_name_and_label (char *name, char *label) |
Create a new plugin preference with name and label. | |
void | gaim_plugin_pref_destroy (GaimPluginPref *pref) |
Destroy a plugin preference. | |
void | gaim_plugin_pref_set_name (GaimPluginPref *pref, char *name) |
Set a plugin pref name. | |
char * | gaim_plugin_pref_get_name (GaimPluginPref *pref) |
Get a plugin pref name. | |
void | gaim_plugin_pref_set_label (GaimPluginPref *pref, char *label) |
Set a plugin pref label. | |
char * | gaim_plugin_pref_get_label (GaimPluginPref *pref) |
Get a plugin pref label. | |
void | gaim_plugin_pref_set_bounds (GaimPluginPref *pref, int min, int max) |
Set the bounds for an integer pref. | |
void | gaim_plugin_pref_get_bounds (GaimPluginPref *pref, int *min, int *max) |
Get the bounds for an integer pref. | |
void | gaim_plugin_pref_set_type (GaimPluginPref *pref, GaimPluginPrefType type) |
Set the type of a plugin pref. | |
GaimPluginPrefType | gaim_plugin_pref_get_type (GaimPluginPref *pref) |
Get the type of a plugin pref. | |
void | gaim_plugin_pref_add_choice (GaimPluginPref *pref, char *label, gpointer choice) |
Set the choices for a choices plugin pref. | |
GList * | gaim_plugin_pref_get_choices (GaimPluginPref *pref) |
Get the choices for a choices plugin pref. | |
void | gaim_plugin_pref_set_max_length (GaimPluginPref *pref, unsigned int max_length) |
Set the max length for a string plugin pref. | |
unsigned int | gaim_plugin_pref_get_max_length (GaimPluginPref *pref) |
Get the max length for a string plugin pref. | |
void | gaim_plugin_pref_set_masked (GaimPluginPref *pref, gboolean mask) |
Sets the masking of a string plugin pref. | |
gboolean | gaim_plugin_pref_get_masked (GaimPluginPref *pref) |
Gets the masking of a string plugin pref. |
gaim
Gaim is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this source distribution.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
enum GaimPluginPrefType |
void gaim_plugin_pref_add_choice | ( | GaimPluginPref * | pref, | |
char * | label, | |||
gpointer | choice | |||
) |
Set the choices for a choices plugin pref.
pref | The plugin pref | |
label | The label for the choice | |
choice | A gpointer of the choice |
void gaim_plugin_pref_destroy | ( | GaimPluginPref * | pref | ) |
Destroy a plugin preference.
pref | The preference to destroy |
void gaim_plugin_pref_frame_add | ( | GaimPluginPrefFrame * | frame, | |
GaimPluginPref * | pref | |||
) |
Adds a plugin preference to a plugin preference frame.
frame | The plugin frame to add the preference to | |
pref | The preference to add to the frame |
void gaim_plugin_pref_frame_destroy | ( | GaimPluginPrefFrame * | frame | ) |
Destroy a plugin preference frame.
frame | The plugin frame to destroy |
GList* gaim_plugin_pref_frame_get_prefs | ( | GaimPluginPrefFrame * | frame | ) |
Get the plugin preferences from a plugin preference frame.
frame | The plugin frame to get the plugin preferences from |
GaimPluginPrefFrame* gaim_plugin_pref_frame_new | ( | ) |
Create a new plugin preference frame.
void gaim_plugin_pref_get_bounds | ( | GaimPluginPref * | pref, | |
int * | min, | |||
int * | max | |||
) |
Get the bounds for an integer pref.
pref | The plugin pref | |
min | The min value | |
max | The max value |
GList* gaim_plugin_pref_get_choices | ( | GaimPluginPref * | pref | ) |
Get the choices for a choices plugin pref.
pref | The plugin pref |
char* gaim_plugin_pref_get_label | ( | GaimPluginPref * | pref | ) |
Get a plugin pref label.
pref | The plugin pref |
gboolean gaim_plugin_pref_get_masked | ( | GaimPluginPref * | pref | ) |
Gets the masking of a string plugin pref.
pref | The plugin pref |
unsigned int gaim_plugin_pref_get_max_length | ( | GaimPluginPref * | pref | ) |
Get the max length for a string plugin pref.
pref | The plugin pref |
char* gaim_plugin_pref_get_name | ( | GaimPluginPref * | pref | ) |
Get a plugin pref name.
pref | The plugin pref |
GaimPluginPrefType gaim_plugin_pref_get_type | ( | GaimPluginPref * | pref | ) |
Get the type of a plugin pref.
pref | The plugin pref |
GaimPluginPref* gaim_plugin_pref_new | ( | ) |
Create a new plugin preference.
GaimPluginPref* gaim_plugin_pref_new_with_label | ( | char * | label | ) |
Create a new plugin preference with label.
label | The label to be displayed |
GaimPluginPref* gaim_plugin_pref_new_with_name | ( | char * | name | ) |
Create a new plugin preference with name.
name | The name of the pref |
GaimPluginPref* gaim_plugin_pref_new_with_name_and_label | ( | char * | name, | |
char * | label | |||
) |
Create a new plugin preference with name and label.
name | The name of the pref | |
label | The label to be displayed |
void gaim_plugin_pref_set_bounds | ( | GaimPluginPref * | pref, | |
int | min, | |||
int | max | |||
) |
Set the bounds for an integer pref.
pref | The plugin pref | |
min | The min value | |
max | The max value |
void gaim_plugin_pref_set_label | ( | GaimPluginPref * | pref, | |
char * | label | |||
) |
Set a plugin pref label.
pref | The plugin pref | |
label | The label for the plugin pref |
void gaim_plugin_pref_set_masked | ( | GaimPluginPref * | pref, | |
gboolean | mask | |||
) |
Sets the masking of a string plugin pref.
pref | The plugin pref | |
mask | The value to set |
void gaim_plugin_pref_set_max_length | ( | GaimPluginPref * | pref, | |
unsigned int | max_length | |||
) |
Set the max length for a string plugin pref.
pref | The plugin pref | |
max_length | The max length of the string |
void gaim_plugin_pref_set_name | ( | GaimPluginPref * | pref, | |
char * | name | |||
) |
Set a plugin pref name.
pref | The plugin pref | |
name | The name of the pref |
void gaim_plugin_pref_set_type | ( | GaimPluginPref * | pref, | |
GaimPluginPrefType | type | |||
) |
Set the type of a plugin pref.
pref | The plugin pref | |
type | The type |