00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #include "gwebpassman.h"
00025
00026 static void
00027 g_web_password_manager_base_init (gpointer g_class)
00028 {
00029 static gboolean initialized = FALSE;
00030
00031 if (!initialized) {
00032
00033 initialized = TRUE;
00034 }
00035 }
00036
00037 GType
00038 g_web_password_manager_get_type (void)
00039 {
00040 static GType type = 0;
00041 if (type == 0) {
00042 static const GTypeInfo info = {
00043 sizeof (GWebPasswordManagerIface),
00044 g_web_password_manager_base_init,
00045 NULL,
00046 NULL,
00047 NULL,
00048 NULL,
00049 0,
00050 0,
00051 NULL
00052 };
00053 type = g_type_register_static (G_TYPE_INTERFACE, "GWebPasswordManager", &info, 0);
00054 }
00055 return type;
00056 }
00057
00058 GType g_web_password_manager_get_type (void);
00059
00060 GWebStatus
00061 g_web_password_manager_get_login_username (GWebPasswordManager *self, gchar** username)
00062 {
00063 return G_WEB_PASSWORD_MANAGER_GET_CLASS (self)->get_login_username (self, username);
00064 }
00065
00066 GWebStatus
00067 g_web_password_manager_get_login_password(GWebPasswordManager*self, gchar** password)
00068 {
00069 return G_WEB_PASSWORD_MANAGER_GET_CLASS (self)->get_login_password (self, password);
00070 }
00071
00072 GObject*
00073 g_web_password_manager_login_get_personal_data(GWebPasswordManager *self)
00074 {
00075 return G_WEB_PASSWORD_MANAGER_GET_CLASS (self)->login_get_personal_data (self);
00076 }