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

The document's outlines are now loaded correctly, although I don't like the way is set up now...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/DocumentOutline.h

    r58 r60  
    1919#define __DOCUMENT_OUTLINE_H__ 
    2020 
     21// Forward declarations. 
     22class PDFDoc; 
     23class Outline; 
     24class GooList; 
     25 
    2126namespace ePDFView 
    2227{ 
     
    3742    { 
    3843        public: 
    39             DocumentOutline (void); 
     44            DocumentOutline (PDFDoc *document); 
    4045            ~DocumentOutline (void); 
    4146 
    4247            gint getDestinationPage (void); 
    4348            DocumentOutline *getFirstChild (void); 
     49            DocumentOutline *getNextChild (void); 
    4450            gint getNumChildren (void); 
    4551            const gchar *getTitle (void); 
     52            void setOutline (Outline *outline); 
     53 
     54        private: 
     55            GList *m_Children; 
     56            gint m_Destination; 
     57            PDFDoc *m_Document; 
     58            GList *m_LastReturnedChild; 
     59            DocumentOutline *m_Parent; 
     60            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); 
    4666    }; 
    4767}