Changeset d96f21af85f2fb0eeb992b52e58b03c317bf0a49
- Timestamp:
- 10/25/09 14:24:52 (4 years ago)
- Author:
- Benjamin Herr <ben@…>
- git-author:
- Armin Burgmeier <armin@arbur.net> / 2009-02-01T19:27:39Z+0100
- Parents:
- f4c6a3db38b252de69e1eb1b882d87de5d4c00be
- Children:
- 3adef45a9e5b72edb4099a59e2a3e00f544ef7e0
- git-committer:
- Benjamin Herr <ben@0x539.de> / 2009-10-25T14:24:52Z+0100
- Message:
-
Fixed compilation after task split rebase
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rf4c6a3d
|
rd96f21a
|
|
| 232 | 232 | |
| 233 | 233 | #include <libinftextgtk/inf-text-gtk-buffer.h> |
| | 234 | #include "util/i18n.hpp" |
| 234 | 235 | |
| 235 | 236 | // write the Gtk::TextBuffer from document into content, inserting <span/>s for |
| 236 | 237 | // line breaks and authorship of chunks of text, also save all users |
| 237 | 238 | // encountered and the total number of lines dumped |
| 238 | | void dump_buffer(DocWindow& document, |
| | 239 | void dump_buffer(Gobby::DocWindow& document, |
| 239 | 240 | xmlpp::Element* content, |
| 240 | 241 | std::set<InfTextUser*>& users, |
| 241 | 242 | unsigned int& line_counter) { |
| | 243 | using namespace Gobby; |
| 242 | 244 | users.clear(); |
| 243 | 245 | line_counter = 1; |
| … |
… |
|
| 337 | 339 | // some random interesting information/advertisement to be put at the end of |
| 338 | 340 | // the html output |
| 339 | | void dump_info(xmlpp::Element* node, DocWindow& document) { |
| | 341 | void dump_info(xmlpp::Element* node, Gobby::DocWindow& document) { |
| | 342 | using namespace Gobby; |
| 340 | 343 | // put current time |
| 341 | | char const* time_str; |
| | 344 | char const* time_str; |
| 342 | 345 | int const n = 128; |
| 343 | 346 | char buf[n]; |
| … |
… |
|
| 409 | 412 | // generate xhtml representation of the document and write it to the |
| 410 | 413 | // specified location in the filesystem |
| 411 | | void export_html(DocWindow& document, const Glib::ustring& output_path) { |
| | 414 | void export_html(Gobby::DocWindow& document, const Glib::ustring& output_path) { |
| | 415 | using namespace Gobby; |
| 412 | 416 | xmlpp::Document output; |
| 413 | 417 | |