[Aptitude-svn-commit] r3743 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Mon Aug 8 17:57:03 UTC 2005
Author: dburrows
Date: Mon Aug 8 17:57:01 2005
New Revision: 3743
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/edit_pkg_hier.h
Log:
Update vs_hier_editor.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Mon Aug 8 17:57:01 2005
@@ -1,5 +1,9 @@
2005-08-08 Daniel Burrows <dburrows at debian.org>
+ * src/edit_pkg_hier.h:
+
+ Update the vs_hier_editor class for the refcounting protocol.
+
* src/vs_progress.cc, src/vs_progress.h:
Update the vs_progress class for the refcounting protocol.
Modified: branches/aptitude-0.3/aptitude/src/edit_pkg_hier.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/edit_pkg_hier.h (original)
+++ branches/aptitude-0.3/aptitude/src/edit_pkg_hier.h Mon Aug 8 17:57:01 2005
@@ -56,10 +56,15 @@
virtual bool handle_key(const key &k);
void paint(const style &st);
-public:
- bool get_cursorvisible();
vs_hier_editor();
+public:
+ ref_ptr<vs_hier_editor> create()
+ {
+ return new vs_hier_editor;
+ }
+
+ bool get_cursorvisible();
void set_package(const pkgCache::PkgIterator &pkg);
@@ -71,4 +76,6 @@
sigc::signal0<void> commit_changes;
};
+typedef ref_ptr<vs_hier_editor> vs_hier_editor_ref;
+
#endif
More information about the Aptitude-svn-commit
mailing list