browser-eal/include/gwebpassman.h

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 <glib-object.h>
00025 #include "gwebcommon.h"
00026 
00027 #ifndef __GWEBPASSMAN_H__
00028 #define __GWEBPASSMAN_H__
00029 
00030 G_BEGIN_DECLS
00031 
00032 #define G_TYPE_WEB_PASSWORD_MANAGER             (g_web_password_manager_get_type())
00033 #define G_WEB_PASSWORD_MANAGER(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj), G_TYPE_WEB_PASSWORD_MANAGER, GWebPasswordManager))
00034 #define G_WEB_PASSWORD_MANAGER_CLASS(vtable)    (G_TYPE_CHECK_CLASS_CAST((vtable), G_TYPE_WEB_PASSWORD_MANAGER, GWebPasswordManagerIface))
00035 #define G_IS_WEB_PASSWORD_MANAGER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE((obj), G_TYPE_WEB_PASSWORD_MANAGER))
00036 #define G_IS_WEB_PASSWORD_MANAGER_CLASS(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vatable), G_TYPE_WEB_PASSWORD_MANAGER))
00037 #define G_WEB_PASSWORD_MANAGER_GET_CLASS(inst)  (G_TYPE_INSTANCE_GET_INTERFACE((inst), G_TYPE_WEB_PASSWORD_MANAGER, GWebPasswordManagerIface))
00038 
00039 typedef struct _GWebPasswordManager      GWebPasswordManager;
00040 typedef struct _GWebPasswordManagerIface  GWebPasswordManagerIface;
00041 
00042 struct _GWebPasswordManagerIface
00043 {
00044         GTypeInterface parent;
00045         
00046         GWebStatus (*get_login_username) (GWebPasswordManager *self, gchar** username);
00047         GWebStatus (*get_login_password) (GWebPasswordManager *self, gchar** password);
00048         GObject* (*login_get_personal_data) (GWebPasswordManager *self);
00049 };
00050 
00051 GType      g_web_password_manager_get_type         (void);
00052 
00062 GWebStatus g_web_password_manager_get_login_username(GWebPasswordManager *self, gchar** username);
00063 
00073 GWebStatus g_web_password_manager_get_login_password(GWebPasswordManager *self, gchar** password);
00074 
00081 GObject* g_web_password_manager_login_get_personal_data(GWebPasswordManager *self);
00082 
00083 G_END_DECLS
00084 
00085 #endif //__GWEBPASSMAN_H__

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