Show
Ignore:
Timestamp:
04/11/06 12:15:53 (3 years ago)
Author:
jordi
Message:

The user can now open an encrypted pdf file, as the presenter will ask for the password three time before to show an error, or until the user gives the cancels out.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tests/DumbMainView.h

    r26 r27  
    2929 
    3030            gchar *openFileDialog (void); 
     31            gchar *promptPasswordDialog (void); 
    3132            void sensitiveGoToFirstPage (gboolean sensitive); 
    3233            void sensitiveGoToLastPage (gboolean sensitive); 
     
    4445 
    4546            // Methods for test purposes. 
     47            gint countTimesShownPasswordPrompt (); 
    4648            const gchar *getTitle (void); 
    4749            gboolean hasImagePageView (void); 
     
    5759            gboolean isSensitiveZoomWidth (void); 
    5860            void setOpenFileName (const gchar *fileName); 
     61            void setPassword (const gchar *password); 
    5962            gboolean shownError (void); 
    6063 
     
    6265            DocumentPage *m_DocumentPage; 
    6366            gchar *m_OpenFileName; 
     67            gchar *m_Password; 
    6468            gboolean m_SensitiveGoToFirstPage; 
    6569            gboolean m_SensitiveGoToLastPage; 
     
    7377            gboolean m_Shown; 
    7478            gboolean m_ShownError; 
     79            gint m_TimesShownPassword; 
    7580            gchar *m_Title; 
    7681    };