--- /dev/null
+/*---------------------------------------------------------------------\
+| ____ _ __ __ ___ |
+| |__ / \ / / . \ . \ |
+| / / \ V /| _/ _/ |
+| / /__ | | | | | | |
+| /_____||_| |_| |_| |
+| |
+\---------------------------------------------------------------------*/
+/** \file zypp/Pattern.cc
+ *
+*/
+#include <iostream>
+
+#include "zypp/Pattern.h"
+
+using namespace std;
+
+///////////////////////////////////////////////////////////////////
+namespace zypp
+{ /////////////////////////////////////////////////////////////////
+
+ ///////////////////////////////////////////////////////////////////
+ //
+ // METHOD NAME : Pattern::Pattern
+ // METHOD TYPE : Ctor
+ //
+ Pattern::Pattern( const NVRAD & nvrad_r )
+ : ResObject( TraitsType::kind, nvrad_r )
+ {}
+
+ ///////////////////////////////////////////////////////////////////
+ //
+ // METHOD NAME : Pattern::~Pattern
+ // METHOD TYPE : Dtor
+ //
+ Pattern::~Pattern()
+ {}
+
+ ///////////////////////////////////////////////////////////////////
+ //
+ // Pattern interface forwarded to implementation
+ //
+ ///////////////////////////////////////////////////////////////////
+
+
+ /////////////////////////////////////////////////////////////////
+} // namespace zypp
+///////////////////////////////////////////////////////////////////
--- /dev/null
+/*---------------------------------------------------------------------\
+| ____ _ __ __ ___ |
+| |__ / \ / / . \ . \ |
+| / / \ V /| _/ _/ |
+| / /__ | | | | | | |
+| /_____||_| |_| |_| |
+| |
+\---------------------------------------------------------------------*/
+/** \file zypp/Pattern.h
+ *
+*/
+#ifndef ZYPP_PATTERN_H
+#define ZYPP_PATTERN_H
+
+#include "zypp/ResObject.h"
+#include "zypp/detail/PatternImplIf.h"
+
+///////////////////////////////////////////////////////////////////
+namespace zypp
+{ /////////////////////////////////////////////////////////////////
+
+ ///////////////////////////////////////////////////////////////////
+ //
+ // CLASS NAME : Pattern
+ //
+ /** Pattern interface.
+ */
+ class Pattern : public ResObject
+ {
+ public:
+ typedef detail::PatternImplIf Impl;
+ typedef Pattern Self;
+ typedef ResTraits<Self> TraitsType;
+ typedef TraitsType::PtrType Ptr;
+ typedef TraitsType::constPtrType constPtr;
+
+ public:
+ /** */
+ // data here:
+
+ protected:
+ /** Ctor */
+ Pattern( const NVRAD & nvrad_r );
+ /** Dtor */
+ virtual ~Pattern();
+
+ private:
+ /** Access implementation */
+ virtual Impl & pimpl() = 0;
+ /** Access implementation */
+ virtual const Impl & pimpl() const = 0;
+ };
+ ///////////////////////////////////////////////////////////////////
+
+ /////////////////////////////////////////////////////////////////
+} // namespace zypp
+///////////////////////////////////////////////////////////////////
+#endif // ZYPP_PATTERN_H