Show
Ignore:
Timestamp:
04/14/06 12:36:20 (3 years ago)
Author:
jordi
Message:

I've removed all Poppler stuff from the DocumentOutline? and put it into the PDFDocument, where it should be. Also the previously protected setters DocumentOutline? methods are set to public.

Added the missing documentation comments.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/DocumentOutline.h

    r60 r61  
    1919#define __DOCUMENT_OUTLINE_H__ 
    2020 
    21 // Forward declarations. 
    22 class PDFDoc; 
    23 class Outline; 
    24 class GooList; 
    25  
    2621namespace ePDFView 
    2722{ 
     
    4237    { 
    4338        public: 
    44             DocumentOutline (PDFDoc *document); 
     39            DocumentOutline (void); 
    4540            ~DocumentOutline (void); 
    4641 
     42            void addChild (DocumentOutline *child); 
    4743            gint getDestinationPage (void); 
    4844            DocumentOutline *getFirstChild (void); 
     
    5046            gint getNumChildren (void); 
    5147            const gchar *getTitle (void); 
    52             void setOutline (Outline *outline); 
     48            void setParent (DocumentOutline *parent); 
     49            void setTitle (const gchar *title); 
     50            void setDestination (gint destination); 
    5351 
    5452        private: 
    5553            GList *m_Children; 
    5654            gint m_Destination; 
    57             PDFDoc *m_Document; 
    5855            GList *m_LastReturnedChild; 
    5956            DocumentOutline *m_Parent; 
    6057            gchar *m_Title; 
    61  
    62             void setChildren (GooList *childrenList); 
    63             void setParent (DocumentOutline *parent); 
    64             void setTitle (const gchar *title); 
    65             void setDestination (gint destination); 
    6658    }; 
    6759}