Changeset 33

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

The basic main window for the GTK+'s shell is already working, althoug almost no functionality is implemented. You can quit it, though :-)

Location:
trunk/src
Files:
3 added
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/IMainView.h

    r31 r33  
    2323{ 
    2424    // Forward declarations 
    25     class MainPter;     
     25    class MainPter; 
     26    class DocumentPage; 
    2627 
    2728    class IMainView 
  • trunk/src/MainPter.cxx

    r31 r33  
    2626{ 
    2727    m_Document = new PDFDocument (); 
     28    m_View = NULL; 
    2829} 
    2930 
     
    4041 
    4142    m_Document = document; 
     43    m_View = NULL; 
    4244} 
    4345 
     
    4749MainPter::~MainPter () 
    4850{ 
     51    delete m_Document; 
     52    delete m_View; 
    4953} 
    5054 
  • trunk/src/MainPter.h

    r31 r33  
    2121namespace ePDFView 
    2222{ 
     23    // Forward declarations. 
     24    class IDocument; 
     25     
    2326    class MainPter 
    2427    { 
  • trunk/src/Makefile.am

    r32 r33  
    2222    $(GLIB_CFLAGS)          \ 
    2323    $(POPPLER_CFLAGS) 
     24 
     25bin_PROGRAMS = epdfview 
     26 
     27epdfview_SOURCES =  \ 
     28    main.cxx 
     29 
     30libshell_cxxflags = -I$(top_srcdir)/src/gtk $(GTK2_CFLAGS) 
     31libshell_ldflags = $(GTK2_LIBS) 
     32libshell_ldadd = $(top_builddir)/src/gtk/libshell-gtk.a 
     33 
     34epdfview_CXXFLAGS = \ 
     35    $(GLIB_CFLAGS)  \ 
     36    $(POPPLER_CFLAGS)   \ 
     37    $(libshell_cxxflags) 
     38 
     39epdfview_LDFLAGS =  \ 
     40    $(GLIB_LIBS)    \ 
     41    $(POPPLER_LIBS) \ 
     42    $(libshell_ldflags) 
     43 
     44epdfview_LDADD =    \ 
     45    libepdfview.a   \ 
     46    $(libshell_ldadd) 
  • trunk/src/gtk/Makefile.am

    r32 r33  
    11# Process this file with automake to produce a Makefile.in file. 
     2noinst_LIBRARIES = libshell-gtk.a 
     3libshell_gtk_a_SOURCES =    \ 
     4    MainView.cxx    \ 
     5    MainView.h 
    26 
     7libshell_gtk_a_CXXFLAGS =   \ 
     8    -I$(top_srcdir)/src \ 
     9    $(GTK2_CFLAGS)