ZYpp::LocaleSet ZYpp::getRequestedLocales() const
{ return _pimpl->getRequestedLocales(); }
+ Arch ZYpp::architecture() const
+ { return _pimpl->architecture(); }
+ void ZYpp::setArchitecture( const Arch & arch )
+ { _pimpl->setArchitecture( arch ); }
+
/////////////////////////////////////////////////////////////////
} // namespace zypp
///////////////////////////////////////////////////////////////////
/** */
LocaleSet getRequestedLocales() const;
+ public:
+ /** Get the system architecture. */
+ Arch architecture() const;
+ /** Set the system architecture.
+ This should be used for testing/debugging only since the Target backend
+ won't be able to install incompatible packages ;-) */
+ void setArchitecture( const Arch & arch );
+
protected:
/** Dtor */
virtual ~ZYpp();