6 #include <zypp/base/Logger.h>
8 #include <zypp/ZYppFactory.h>
10 #include "zypp/Product.h"
11 #include "zypp/detail/PackageImplIf.h"
12 #include "zypp/Package.h"
13 #include "zypp/RepositoryFactory.h"
14 #include "zypp/repo/cached/RepoImpl.h"
15 #include "zypp/data/ResolvableData.h"
19 using namespace zypp::repo;
20 using namespace zypp::repo::cached;
23 int main(int argc, char **argv)
27 ZYpp::Ptr z = getZYpp();
29 Pathname dbpath = Pathname(getenv("PWD"));
31 //RepositoryImpl_Ptr repositoryImpl(new CachedRepositoryImpl(dbpath));
32 //RepositoryFactory factory;
33 //Repository_Ref repository = factory.createFrom(repositoryImpl);
34 //ResStore dbres = repository.resolvables();
36 //MIL << dbres.size() << " resolvables" << endl;
39 catch ( const Exception &e )
42 cout << e.msg() << endl;