Imported Upstream version 14.48.2
[platform/upstream/libzypp.git] / devel / devel.dmacvicar / zypp-lock.cc
1 #include <iostream>
2 #include <fstream>
3 #include <sstream>
4 #include <streambuf>
5
6 #include "boost/filesystem/operations.hpp" // includes boost/filesystem/path.hpp
7 #include "boost/filesystem/fstream.hpp"    // ditto
8
9 #include <boost/iostreams/device/file_descriptor.hpp>
10
11 #include <zypp/base/Logger.h>
12 #include <zypp/Locale.h>
13 #include <zypp/ZYpp.h>
14 #include <zypp/ZYppFactory.h>
15 #include <zypp/TranslatedText.h>
16 ///////////////////////////////////////////////////////////////////
17
18 #include <zypp/parser/yum/YUMParser.h>
19 #include <zypp/base/Logger.h>
20 #include <zypp/source/yum/YUMScriptImpl.h>
21 #include <zypp/source/yum/YUMMessageImpl.h>
22 #include <zypp/source/yum/YUMPackageImpl.h>
23 #include <zypp/source/yum/YUMSourceImpl.h>
24
25 #include <map>
26 #include <set>
27
28 #include <zypp/CapFactory.h>
29
30 using namespace zypp::detail;
31
32 using namespace std;
33 using namespace zypp;
34 using namespace zypp::parser::yum;
35 using namespace zypp::source::yum;
36
37
38
39 //using namespace DbXml;
40
41 int main()
42 {
43   try
44   { 
45     ZYpp::Ptr z = getZYpp();
46     //while(1);
47   }
48   catch (...)
49   {
50     MIL << "sorry" << std::endl;
51   } 
52 }
53
54