Changeset 277 for trunk/src/IDocument.h

Show
Ignore:
Timestamp:
06/11/07 09:12:09 (18 months ago)
Author:
jordi
Message:

Added a patch by Igor Vagulin which adds text selection and copy to clipboard features. This fixes bug #14.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/IDocument.h

    r222 r277  
    2222#define EPDFVIEW_DOCUMENT_ERROR     ePDFView::IDocument::getErrorQuark () 
    2323 
     24typedef struct _GdkRegion GdkRegion; 
     25 
    2426namespace ePDFView  
    2527{ 
     
    2729    class DocumentIndex; 
    2830    class IDocumentObserver; 
    29     class DocumentPage; 
     31    class DocumentPage;  
    3032 
    3133    /// 
     
    263265            virtual gboolean saveFile (const gchar *filename, 
    264266                                       GError **error) = 0; 
     267 
     268            virtual GdkRegion* getTextRegion (DocumentRectangle *rect) = 0; 
     269            virtual void setTextSelection (DocumentRectangle *rect) = 0; 
    265270 
    266271            void attach (const IDocumentObserver *observer);