Author: aschnell Date: Fri Jul 25 16:31:52 2008 New Revision: 49422 URL: http://svn.opensuse.org/viewcvs/yast?rev=49422&view=rev Log: - use list instead of deque Modified: branches/tmp/aschnell/part-redesign/libstorage/bindings/ycp/LibStorage.i branches/tmp/aschnell/part-redesign/libstorage/src/Storage.cc branches/tmp/aschnell/part-redesign/libstorage/src/Storage.h branches/tmp/aschnell/part-redesign/libstorage/src/StorageInterface.h Modified: branches/tmp/aschnell/part-redesign/libstorage/bindings/ycp/LibStorage.i URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/libstorage/bindings/ycp/LibStorage.i?rev=49422&r1=49421&r2=49422&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/libstorage/bindings/ycp/LibStorage.i (original) +++ branches/tmp/aschnell/part-redesign/libstorage/bindings/ycp/LibStorage.i Fri Jul 25 16:31:52 2008 @@ -14,6 +14,7 @@ %include "std_string.i" %include "std_deque.i" +%include "std_list.i" specialize_sequence(storage::ContainerInfo, TO_PACK, FROM_PACK, CHECK) specialize_sequence(storage::DiskInfo, TO_PACK, FROM_PACK, CHECK) Modified: branches/tmp/aschnell/part-redesign/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/libstorage/src/Storage.cc?rev=49422&r1=49421&r2=49422&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/libstorage/src/Storage.cc (original) +++ branches/tmp/aschnell/part-redesign/libstorage/src/Storage.cc Fri Jul 25 16:31:52 2008 @@ -1706,7 +1706,7 @@ int -Storage::getUnusedPartitionSlots(const string& disk, deque<PartitionSlotInfo>& slots) +Storage::getUnusedPartitionSlots(const string& disk, list<PartitionSlotInfo>& slots) { int ret = 0; slots.clear(); Modified: branches/tmp/aschnell/part-redesign/libstorage/src/Storage.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/libstorage/src/Storage.h?rev=49422&r1=49421&r2=49422&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/libstorage/src/Storage.h (original) +++ branches/tmp/aschnell/part-redesign/libstorage/src/Storage.h Fri Jul 25 16:31:52 2008 @@ -314,7 +314,7 @@ int removePartition( const string& partition ); int changePartitionId( const string& partition, unsigned id ); int forgetChangePartitionId( const string& partition ); - int getUnusedPartitionSlots(const string& disk, deque<PartitionSlotInfo> &slots); + int getUnusedPartitionSlots(const string& disk, list<PartitionSlotInfo>& slots); int destroyPartitionTable( const string& disk, const string& label ); int initializeDisk( const string& disk, bool value ); string defaultDiskLabel() const; Modified: branches/tmp/aschnell/part-redesign/libstorage/src/StorageInterface.h URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/libstorage/src/StorageInterface.h?rev=49422&r1=49421&r2=49422&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/libstorage/src/StorageInterface.h (original) +++ branches/tmp/aschnell/part-redesign/libstorage/src/StorageInterface.h Fri Jul 25 16:31:52 2008 @@ -1067,7 +1067,7 @@ * @param slots list of records that get filled with partition slot specific info * @return zero if all is ok, a negative number to indicate an error */ - virtual int getUnusedPartitionSlots(const string& disk, deque<PartitionSlotInfo> &slots) = 0; + virtual int getUnusedPartitionSlots(const string& disk, list<PartitionSlotInfo>& slots) = 0; /** * Destroys the partition table of a disk. An empty disk label -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org