[Aptitude-svn-commit] r4222 - in branches/aptitude-0.3/aptitude: . src

Daniel Burrows dburrows at costa.debian.org
Sat Sep 24 05:11:57 UTC 2005


Author: dburrows
Date: Sat Sep 24 05:11:54 2005
New Revision: 4222

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/apt_info_tree.h
   branches/aptitude-0.3/aptitude/src/pkg_tree.h
Log:
Derive apt_info_tree and pkg_tree from apt_undo_tree.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Sep 24 05:11:54 2005
@@ -1,5 +1,15 @@
 2005-09-23  Daniel Burrows  <dburrows at debian.org>
 
+	* src/apt_info_tree.h, src/pkg_tree.h:
+
+	  Derive apt_info_tree and pkg_tree from the new undo-supporting
+	  tree.
+
+	* src/apt_undo_tree.cc, src/apt_undo_tree.h:
+
+	  Add a tree class that implements an apt undo interface (i.e., so
+	  package manipulation screens work as expected).
+
 	* src/menu_redirect.cc:
 
 	  Fix a rather silly typo.

Modified: branches/aptitude-0.3/aptitude/src/apt_info_tree.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/apt_info_tree.h	(original)
+++ branches/aptitude-0.3/aptitude/src/apt_info_tree.h	Sat Sep 24 05:11:54 2005
@@ -30,12 +30,12 @@
 #ifndef APT_INFO_TREE_H
 #define APT_INFO_TREE_H
 
-#include "menu_tree.h"
+#include "apt_undo_tree.h"
 
 #include <apt-pkg/pkgcache.h>
 #include <string>
 
-class apt_info_tree:public menu_tree
+class apt_info_tree:public apt_undo_tree
 {
   std::string package, version;
   // The package that should be used as the root, and the version to use

Modified: branches/aptitude-0.3/aptitude/src/pkg_tree.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_tree.h	(original)
+++ branches/aptitude-0.3/aptitude/src/pkg_tree.h	Sat Sep 24 05:11:54 2005
@@ -24,7 +24,7 @@
 #ifndef PKG_TREE_H
 #define PKG_TREE_H
 
-#include "menu_tree.h"
+#include "apt_undo_tree.h"
 
 #include <apt-pkg/pkgcache.h>
 
@@ -36,7 +36,7 @@
 class pkg_tree_node;
 class undo_group;
 
-class pkg_tree:public menu_tree
+class pkg_tree:public apt_undo_tree
 {
   /** If \b true, the tree is fully initialized: in particular,
    *  the cache-reload signals are connected up.



More information about the Aptitude-svn-commit mailing list