X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-password-view.h;h=03e89072a6f4250179e7e9aa9b8f427d471b8f59;hb=4c3f22a332076fbf6ddc7f2a42bccce9ac673f63;hp=e167916ade20151d8c4bb18dbb89a037c379a0e6;hpb=e8cb5187aa34a7cb3850b1ceada40b7f8415d6b5;p=evince.git diff --git a/shell/ev-password-view.h b/shell/ev-password-view.h index e167916a..03e89072 100644 --- a/shell/ev-password-view.h +++ b/shell/ev-password-view.h @@ -14,13 +14,15 @@ * * 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. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __EV_PASSWORD_VIEW_H__ #define __EV_PASSWORD_VIEW_H__ -#include +#include +#include + G_BEGIN_DECLS #define EV_TYPE_PASSWORD_VIEW (ev_password_view_get_type ()) @@ -33,6 +35,7 @@ typedef struct _EvPasswordViewPrivate EvPasswordViewPrivate; struct _EvPasswordView { GtkViewport parent_instance; + EvPasswordViewPrivate *priv; }; @@ -43,11 +46,13 @@ struct _EvPasswordViewClass { void (*unlock) (EvPasswordView *self); }; -GType ev_password_view_get_type (void) G_GNUC_CONST; -GtkWidget *ev_password_view_new (void); -void ev_password_view_set_file_name (EvPasswordView *password_view, - const char *file_name); - +GType ev_password_view_get_type (void) G_GNUC_CONST; +GtkWidget *ev_password_view_new (GtkWindow *parent); +void ev_password_view_set_uri (EvPasswordView *password_view, + const char *uri); +void ev_password_view_ask_password (EvPasswordView *password_view); +const gchar *ev_password_view_get_password (EvPasswordView *password_view); +GPasswordSave ev_password_view_get_password_save_flags (EvPasswordView *password_view); G_END_DECLS