ignore
[platform/upstream/libzypp.git] / zypp / Message.cc
index 0bbe29d..b47f5fe 100644 (file)
@@ -40,12 +40,12 @@ namespace zypp
   //
   ///////////////////////////////////////////////////////////////////
 
-  std::string Message::text()
+  TranslatedText Message::text() const
   { return pimpl().text(); }
 
-  std::string Message::type()
-  { return pimpl().type(); }
-
+  /** Patch the message belongs to - if any */
+  Patch::constPtr Message::patch() const
+  { return pimpl().patch(); }
   /////////////////////////////////////////////////////////////////
 } // namespace zypp
 ///////////////////////////////////////////////////////////////////