browser-eal/src/gwebpassman.c

Go to the documentation of this file.
00001 /* ***** BEGIN LICENSE BLOCK *****
00002  * Version: MPL 1.1
00003  *
00004  * The contents of this file are subject to the Mozilla Public License Version
00005  * 1.1 (the "License"); you may not use this file except in compliance with
00006  * the License. You may obtain a copy of the License at
00007  * http://www.mozilla.org/MPL/
00008  *
00009  * Software distributed under the License is distributed on an "AS IS" basis,
00010  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00011  * for the specific language governing rights and limitations under the
00012  * License.
00013  *
00014  * The Original Code is the EAL package.
00015  *
00016  * The Initial Developer of the Original Code is Nokia Corporation.
00017  * Portions created by the Initial Developer are Copyright (C) 2005
00018  * the Initial Developer. All Rights Reserved.
00019  *
00020  * Contact: Leonid Zolotarev <leonid.zolotarev@nokia.com>
00021  *
00022  * ***** END LICENSE BLOCK ***** */
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                 /* create interface signals here. */
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,   /* base_init */
00045             NULL,   /* base_finalize */
00046             NULL,   /* class_init */
00047             NULL,   /* class_finalize */
00048             NULL,   /* class_data */
00049             0,
00050             0,      /* n_preallocs */
00051             NULL    /* instance_init */
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 }

Generated on Tue Sep 25 10:37:04 2007 for browser-eal by  doxygen 1.5.1