]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-password-view.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-password-view.h
index d59d62b4834ffed621c6b48ad739da9023b845e2..03e89072a6f4250179e7e9aa9b8f427d471b8f59 100644 (file)
  *
  * 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 <gtk/gtk.h>
+#include <gio/gio.h>
 
 G_BEGIN_DECLS
 
@@ -34,6 +35,7 @@ typedef struct _EvPasswordViewPrivate EvPasswordViewPrivate;
 
 struct _EvPasswordView {
        GtkViewport parent_instance;
+       
        EvPasswordViewPrivate *priv;
 };
 
@@ -44,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