- Create the cache directly from the schema (installed) file.
[platform/upstream/libzypp.git] / zypp / Locale.h
index b2ac8f4..1859551 100644 (file)
@@ -70,6 +70,9 @@ namespace zypp
     /** Return the name made of language and country name. */
     std::string name() const;
 
+    /** Return a fallback locale for this locale, when giving up, returns empty Locale() */
+    Locale fallback() const;
+
   private:
     /** Pointer to implementation */
     RW_pointer<Impl> _pimpl;
@@ -116,7 +119,7 @@ namespace zypp
 ///////////////////////////////////////////////////////////////////
 namespace std
 { /////////////////////////////////////////////////////////////////
-  /** \relates Locale Default order for std::container based on code string value.*/
+  /** \relates zypp::Locale Default order for std::container based on code string value.*/
   template<>
     inline bool less<zypp::Locale>::operator()( const zypp::Locale & lhs, const zypp::Locale & rhs ) const
     { return lhs.code() < rhs.code(); }