/*************************************************************************** copyright : (C) 2001-2006 by Robby Stephenson email : robby@periapsis.org ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of version 2 of the GNU General Public License as * * published by the Free Software Foundation; * * * ***************************************************************************/ #ifndef DATA_VECTORS_H #define DATA_VECTORS_H #include "ptrvector.h" #include #include #include namespace Tellico { typedef TQMap StringMap; class Filter; typedef TDESharedPtr FilterPtr; typedef Vector FilterVec; namespace Data { class Collection; typedef TDESharedPtr CollPtr; typedef TDESharedPtr ConstCollPtr; typedef Vector CollVec; class Field; typedef TDESharedPtr FieldPtr; typedef TDESharedPtr ConstFieldPtr; typedef Vector FieldVec; typedef FieldVec::Iterator FieldVecIt; // typedef Vector ConstFieldVec; class Entry; typedef TDESharedPtr EntryPtr; typedef TDESharedPtr ConstEntryPtr; typedef Vector EntryVec; typedef EntryVec::Iterator EntryVecIt; typedef Vector ConstEntryVec; // complicated, I know // first item is a vector of all entries that got added in the merge process // second item is a pair of entries that had their track field modified // since a music collection is the only one that would actually merge entries typedef TQValueVector< TQPair > PairVector; typedef TQPair MergePair; class Borrower; typedef TDESharedPtr BorrowerPtr; typedef Vector BorrowerVec; } } #endif