~ubuntu-branches/ubuntu/vivid/fbreader/vivid-proposed

« back to all changes in this revision

Viewing changes to fbreader/src/fbreader/FBReader.h

  • Committer: Bazaar Package Importer
  • Author(s): Eugene V. Lyubimkin
  • Date: 2008-06-17 23:01:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080617230153-a16c45tq69j8geru
Tags: 0.8.17-11
* debian/control:
  - Enhanced all ZLibrary descriptions, not the main one.
  - Done some renaming to use canonical names of libraries and toolkits in
    decriptions, as suggested by developers-reference:
    'qt' -> 'Qt', 'gtk' -> 'GTK+', 'zlibrary' -> 'ZLibrary'.
  - Bump 'Depends' on quilt to (>= 0.24).
* debian/rules:
  - Included quilt makefile instead of quilt makefile instead
    of copy&paste'ing it.
* debian/fbreader.links:
  - Added this file to relay on dh_link's work instead of using 'ln -sf'
    directly in the debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
class FBReader : public ZLApplication {
46
46
 
47
47
public:
 
48
        // returns true if description was found or error message was shown
 
49
        static bool createDescription(const std::string &fileName, BookDescriptionPtr &description);
 
50
 
 
51
public:
48
52
        enum ViewMode {
49
53
                UNDEFINED_MODE = 0,
50
54
                BOOK_TEXT_MODE = 1 << 0,
75
79
        ZLBooleanOption EnableTapScrollingOption;
76
80
        ZLBooleanOption TapScrollingOnFingerOnlyOption;
77
81
 
78
 
        ZLBooleanOption SearchBackwardOption;
79
 
        ZLBooleanOption SearchIgnoreCaseOption;
80
 
        ZLBooleanOption SearchInWholeTextOption;
81
 
        ZLBooleanOption SearchThisSectionOnlyOption;
82
 
        ZLStringOption SearchPatternOption;
83
 
 
84
82
        ZLBooleanOption UseSeparateBindingsOption;
85
83
 
86
84
        ZLBooleanOption EnableSingleClickDictionaryOption;
95
93
private:
96
94
        void initWindow();
97
95
 
98
 
        BookDescriptionPtr createDescription(const std::string &fileName) const;
99
 
 
100
96
        bool runBookInfoDialog(const std::string &fileName);
101
97
 
102
98
        void clearTextCaches();
118
114
 
119
115
        void tryShowFootnoteView(const std::string &id, bool external);
120
116
        BookTextView &bookTextView() const;
 
117
        CollectionView &collectionView() const;
121
118
        void showBookTextView();
122
119
        void openBook(BookDescriptionPtr description);
123
120