Changeset 200 for trunk/src/IMainView.h

Show
Ignore:
Timestamp:
06/05/06 08:41:08 (2 years ago)
Author:
jordi
Message:

Added the option to save a copy of the currently loaded document.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/IMainView.h

    r199 r200  
    108108 
    109109            /// 
     110            /// @brief Shows the save file dialog. 
     111            /// 
     112            /// The view must ask the user which file name to use to 
     113            /// save using the toolkit's specific save dialog. 
     114            /// 
     115            /// @param lastFolder The last folder used to save a file. This is 
     116            ///                   used to show this folder when the save dialog 
     117            ///                   appears. 
     118            /// 
     119            /// @return A copy of the file name that the user will try to use 
     120            ///         to save or NULL if the user cancelled the operation. 
     121            ///         This string will be freed by the presenter. 
     122            /// 
     123            virtual gchar *saveFileDialog (const gchar *lastFolder) = 0; 
     124 
     125            /// 
    110126            /// @brief Changes the sensitivity of the "Find" action. 
    111127            /// 
     
    236252            /// 
    237253            virtual void sensitiveRotateRight (gboolean sensitive) = 0; 
     254 
     255            /// 
     256            /// @brief Changes the sensitivity of the "Save a Copy" action. 
     257            /// 
     258            /// The view must change the sensitivity (it's called enabled or 
     259            /// disabled on some toolkits) of the "Save a Copy" action 
     260            /// (both on the menu and the toolbar or any other place). 
     261            /// 
     262            /// @param sensitive Set to TRUE if need to make sensitive (enable) 
     263            ///                  the action or FALSE to insensitive (disable) 
     264            ///                  it. 
     265            /// 
     266            virtual void sensitiveSave (gboolean sensitive) = 0; 
    238267 
    239268            ///