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

« back to all changes in this revision

Viewing changes to fbreader/src/formats/pdb/HtmlMetainfoReader.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:
30
30
                NONE = 0,
31
31
                TITLE = 1,
32
32
                AUTHOR = 2,
33
 
                TITLE_AND_AUTHOR = TITLE | AUTHOR
 
33
                TITLE_AND_AUTHOR = TITLE | AUTHOR,
 
34
                TAGS = 4,
 
35
                ALL = TITLE | AUTHOR | TAGS
34
36
        };
35
37
 
36
38
public:
37
39
        HtmlMetainfoReader(BookDescription &description, ReadType readType);
38
40
 
39
 
        const std::string &title() const;
40
 
        const std::string &author() const;
41
 
 
42
41
private:
43
42
        void startDocumentHandler();
44
43
        void endDocumentHandler();
52
51
 
53
52
        bool myReadTitle;
54
53
        bool myReadAuthor;
 
54
        bool myReadTags;
55
55
 
56
 
        std::string myTitle;
57
 
        std::string myAuthor;
 
56
        std::string myBuffer;
58
57
};
59
58
 
60
 
inline const std::string &HtmlMetainfoReader::title() const {
61
 
        return myTitle;
62
 
}
63
 
 
64
 
inline const std::string &HtmlMetainfoReader::author() const {
65
 
        return myAuthor;
66
 
}
67
 
 
68
59
#endif /* __HTMLMETAINFOREADER_H__ */