compile, const
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Tue, 24 Jan 2006 09:11:06 +0000 (09:11 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Tue, 24 Jan 2006 09:11:06 +0000 (09:11 +0000)
testsuite/solver/src/helix/HelixPatchImpl.cc
testsuite/solver/src/helix/HelixPatchImpl.h

index b6dbdb9..9a4c624 100644 (file)
@@ -57,15 +57,15 @@ bool HelixPatchImpl::affects_pkg_manager() const
 { return false; }
 
       /** Is the patch installation interactive? (does it need user input?) */
-bool HelixPatchImpl::interactive() 
+bool HelixPatchImpl::interactive() const 
 { return false; }
 
       /** The list of all atoms building the patch */
-PatchImplIf::AtomList HelixPatchImpl::all_atoms() 
+PatchImplIf::AtomList HelixPatchImpl::all_atoms() const
 { return AtomList(); }
 
       /** The list of those atoms which have not been installed */
-PatchImplIf::AtomList HelixPatchImpl::not_installed_atoms() 
+PatchImplIf::AtomList HelixPatchImpl::not_installed_atoms() const
 { return AtomList(); }
 
 
@@ -73,7 +73,7 @@ PatchImplIf::AtomList HelixPatchImpl::not_installed_atoms()
 void HelixPatchImpl::mark_atoms_to_freshen(bool freshen) 
 { return; }
 
-bool HelixPatchImpl::any_atom_selected() 
+bool HelixPatchImpl::any_atom_selected() const
 { return false; }
 
 
index a26c0e8..f54e7d1 100644 (file)
@@ -49,15 +49,15 @@ public:
       virtual ByteCount size() const;
 
       /** Is the patch installation interactive? (does it need user input?) */
-      virtual bool interactive() ;
+      virtual bool interactive() const;
       /** The list of all atoms building the patch */
-      virtual AtomList all_atoms() ;
+      virtual AtomList all_atoms() const;
       /** The list of those atoms which have not been installed */
-      virtual AtomList not_installed_atoms() ;
+      virtual AtomList not_installed_atoms() const;
 
 // TODO check necessarity of functions below
       virtual void mark_atoms_to_freshen(bool freshen) ;
-      virtual bool any_atom_selected() ;
+      virtual bool any_atom_selected() const;
 
 protected:
        ByteCount _size_installed;