Changeset 71 for trunk/src/MainPter.h

Show
Ignore:
Timestamp:
04/16/06 06:52:48 (3 years ago)
Author:
jordi
Message:

The application can now open directly a file from the command line. I haven't added a test case because the function used to load the file is the same used the the openFileActivate() and reloadActivated() member functions of MainPter?, so it's tested with them. I only set this function public instead of protected.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/MainPter.h

    r66 r71  
    5050            void goToPageActivated (void); 
    5151            void goToPreviousPageActivated (void); 
     52            void openDocument (const gchar *fileName, const gchar *oldPassword, 
     53                               gboolean canShowPage); 
    5254            void openFileActivated (void); 
    5355            void outlineActivated (DocumentOutline *outline); 
     
    6163 
    6264        protected: 
    63             void openDocument (const gchar *fileName, const gchar *oldPassword, 
    64                                gboolean canShowPage); 
    6565            void showPage (void); 
    6666