mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-02 11:58:25 +00:00
more notes on cout
git-svn-id: svn+q:///qpdf/trunk@1026 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
parent
b1e0dcff16
commit
1dade9a7ee
8
TODO
8
TODO
@ -4,7 +4,13 @@ General
|
||||
* QPDF::checkLinearization writes things to std::cout, which makes it
|
||||
hard for GUIs that want to display the result. Go through all
|
||||
library code and get rid of use of std::cout and std::cerr,
|
||||
replacing them with some better mechanism.
|
||||
replacing them with some better mechanism. To avoid changing the
|
||||
ABI, add two new methods: one that takes a std::ostream& and one
|
||||
that takes a reference to a std::vector<std::string>. The real
|
||||
code should append to the vector. The ostream version should
|
||||
remember to catch exceptions, output the vector elements, and
|
||||
rethrow if needed. The old version should call the ostream version
|
||||
with std::cout.
|
||||
|
||||
* In general, take a fresh look at private methods to see which, if
|
||||
any, should be protected.
|
||||
|
Loading…
x
Reference in New Issue
Block a user