Author: mlandres Date: Tue May 15 18:27:04 2007 New Revision: 5553 URL: http://svn.opensuse.org/viewcvs/zypp?rev=5553&view=rev Log: updated data:: resolvable classes. Modified: trunk/libzypp/zypp2/cache/CachedResolvableDataProvider.h Modified: trunk/libzypp/zypp2/cache/CachedResolvableDataProvider.h URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp2/cache/CachedResolvableDataProvider.h?rev=5553&r1=5552&r2=5553&view=diff ============================================================================== --- trunk/libzypp/zypp2/cache/CachedResolvableDataProvider.h (original) +++ trunk/libzypp/zypp2/cache/CachedResolvableDataProvider.h Tue May 15 18:27:04 2007 @@ -12,55 +12,54 @@ { namespace cache { - + template<class _res> class CachedDataQuery; - + template<> class CachedDataQuery<Package> { - + }; - + template<class _Res> class DataProviderRestraits { public: - typedef data::SpecificData<_Res> DataType; - + }; - + template<class _Res> class CachedDataProvider { CachedDataProvider<_Res>( const zypp::Pathname &dbdir, const data::RecordId id ); }; - + // template<> class CachedDataProvider<ResObject> : public DataProviderRestraits<ResObject>::DataType // { // public: // CachedDataProvider<Package>( sqlite::sqlite3_connection &con, const data::RecordId id ) // { -// //sqlite3_command( con, "select +// //sqlite3_command( con, "select // //con. // } -// +// // private: // //DataType // }; - + // template<> class CachedDataProvider<Package> : public DataProviderRestraits<Package>::DataType // { // public: // CachedDataProvider<Package>( sqlite3x::sqlite3_connection &con, const data::RecordId id ) // { -// //sqlite3_command( con, "select +// //sqlite3_command( con, "select // //con. // } // }; - - - - - - + + + + + + } } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org