Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / solver / detail / Testcase.h
index 16ceb9b..e0b99a0 100644 (file)
 
 #ifndef ZYPP_SOLVER_DETAIL_TESTCASE_H
 #define ZYPP_SOLVER_DETAIL_TESTCASE_H
+#ifndef ZYPP_USE_RESOLVER_INTERNALS
+#error Do not directly include this file!
+#else
 
 #include <string>
-#include "zypp/solver/detail/Resolver.h"
 
 /////////////////////////////////////////////////////////////////////////
 namespace zypp
@@ -26,6 +28,8 @@ namespace zypp
     namespace detail
     { ///////////////////////////////////////////////////////////////////
 
+      class Resolver;
+
       ///////////////////////////////////////////////////////////////////
       //
       //       CLASS NAME : Testcase
@@ -54,5 +58,5 @@ namespace zypp
   ///////////////////////////////////////////////////////////////////////
 };// namespace zypp
 /////////////////////////////////////////////////////////////////////////
-
+#endif // ZYPP_USE_RESOLVER_INTERNALS
 #endif // ZYPP_SOLVER_DETAIL_TESTCASE_H