r18801 - gnucash/trunk/src - Some more C++ work. Opening an existing file works, even though nothing is visible so far.

Christian Stimming cstim at code.gnucash.org
Wed Mar 3 15:47:31 EST 2010


Author: cstim
Date: 2010-03-03 15:47:31 -0500 (Wed, 03 Mar 2010)
New Revision: 18801
Trac: http://svn.gnucash.org/trac/changeset/18801

Added:
   gnucash/trunk/src/gnc/Account.hpp
   gnucash/trunk/src/gnc/Book.cpp
   gnucash/trunk/src/gnc/Book.hpp
   gnucash/trunk/src/gnc/ScopedPointer.hpp
   gnucash/trunk/src/gnc/Session.cpp
   gnucash/trunk/src/gnc/Session.hpp
   gnucash/trunk/src/gnc/WeakPointer.hpp
Modified:
   gnucash/trunk/src/CMakeLists.txt
   gnucash/trunk/src/gnc/CMakeLists.txt
   gnucash/trunk/src/gnc/mainwindow.cpp
   gnucash/trunk/src/gnc/mainwindow.hpp
Log:
Some more C++ work. Opening an existing file works, even though nothing is visible so far.

The implementation of a scoped_ptr wrapper around a C object
uses the boost library, though, because writing our own
implementation of a scoped_ptr with custom deletion function
is too non-trivial and I rather re-use the boost::shared_ptr
here instead of making our own mistakes.



More information about the gnucash-patches mailing list