From: Keith M. <kei...@us...> - 2012-06-02 22:49:14
|
Update of /cvsroot/mingw/mingw-get In directory vz-cvs-4.sog:/tmp/cvs-serv13317 Modified Files: ChangeLog Log Message: Refactor API to facilitate implementation of GUI ListView hooks. Index: ChangeLog =================================================================== RCS file: /cvsroot/mingw/mingw-get/ChangeLog,v retrieving revision 1.153 retrieving revision 1.154 diff -C2 -d -r1.153 -r1.154 *** ChangeLog 2 May 2012 20:21:14 -0000 1.153 --- ChangeLog 2 Jun 2012 22:49:11 -0000 1.154 *************** *** 1,2 **** --- 1,21 ---- + 2012-06-02 Keith Marshall <kei...@us...> + + Refactor API to facilitate implementation of GUI ListView hooks. + + * src/pkgkeys.h (title_key, description_key): Declare them. + * src/pkgkeys.c (title_key, description_key): Define them; relocate... + * src/pkgshow.cpp (pkgDirectoryViewer::EmitDescription): ...from here. + (pkgXmlDocument::CalalogueAllPackages): New public method; factor... + (pkgXmlDocument::DisplayPackageInfo): ...from here, whence use it. + (pkgDirectoryViewerEngine::EnumerateComponents): New private method; + implement as a concrete method of this abstract base class; factor... + (pkgDirectoryViewer::Dispatch): ...from original inline implementation + within this method of the concrete derived class, whence use it. + (pkgDirectoryViewerEngine, pkgDirectory): Factor class declarations... + * src/pkglist.h: ...into this new header file; include it. + + * src/pkgbase.h (pkgDirectory): Add forward class declaration. + (pkgXmlDocument::CatalogueAllPackages): Declare it. + 2012-05-02 Keith Marshall <kei...@us...> |