Author: mlandres
Date: Wed Aug 1 16:59:49 2007
New Revision: 6369
URL: http://svn.opensuse.org/viewcvs/zypp?rev=6369&view=rev
Log:
convenience insert added
Modified:
trunk/libzypp/zypp/ResPoolManager.h
Modified: trunk/libzypp/zypp/ResPoolManager.h
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ResPoolManager.h?rev=6369&r1=6368&r2=6369&view=diff
==============================================================================
--- trunk/libzypp/zypp/ResPoolManager.h (original)
+++ trunk/libzypp/zypp/ResPoolManager.h Wed Aug 1 16:59:49 2007
@@ -14,8 +14,9 @@
#include <iosfwd>
-#include
-#include
+#include "zypp/ResPool.h"
+#include "zypp/ResPoolProxy.h"
+#include "zypp/ResStore.h"
///////////////////////////////////////////////////////////////////
namespace zypp
@@ -55,6 +56,9 @@
void insert( ResObject::constPtr ptr_r, bool installed = false )
{ inserter(installed)( ptr_r ); }
+ void insert( const ResStore & store_r, bool installed = false )
+ { insert( store_r.begin(), store_r.end(), installed ); }
+
/** */
template <class _InputIterator>
void insert( _InputIterator first_r, _InputIterator last_r, bool installed = false )
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org