Changeset 221 for trunk/src/IPrintView.h

Show
Ignore:
Timestamp:
06/11/06 11:05:39 (2 years ago)
Author:
jordi
Message:

When a printer is selected, the presenter clears the page sizes and fills it with the available printer's page size.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/IPrintView.h

    r220 r221  
    6262 
    6363            /// 
     64            /// @brief Adds a new page size to the list. 
     65            /// 
     66            /// @param name The possibly translated name of the page size. 
     67            /// @param value The value the ePDFView internally uses to know 
     68            ///              which page size is. 
     69            /// 
     70            virtual void addPageSize (const gchar *name,  
     71                                      const gchar *value) = 0; 
     72 
     73            /// 
    6474            /// @brief Adds a new printer to the list of printer. 
    6575            /// 
     
    7787 
    7888            /// 
     89            /// @brief Deletes all sizes from the list of page sizes. 
     90            /// 
     91            virtual void clearPageSizeList (void) = 0; 
     92 
     93            /// 
    7994            /// @brief Gets the number of copies to do. 
    8095            /// 
     
    85100 
    86101            /// 
     102            /// @brief Gets the name of the currently selected printer. 
     103            /// 
     104            /// @return The name of the printer that is currently selected. 
     105            ///         The name returned is the same as the name passed 
     106            ///         to the view using the addPrinter() function. 
     107            /// 
     108            virtual gchar *getSelectedPrinterName (void) = 0; 
     109 
     110            /// 
    87111            /// @brief Check is the "All Pages" range option is selected. 
    88112            /// 
     
    91115            /// 
    92116            virtual gboolean isSelectedAllPagesRangeOption (void) = 0; 
     117 
     118            /// 
     119            /// @brief Selects a page size. 
     120            /// 
     121            /// @param pageSizeInde The index of the page size to select. 
     122            /// 
     123            virtual void selectPageSize (unsigned int pageSizeIndex) = 0; 
    93124 
    94125            ///