summaryrefslogtreecommitdiff
path: root/swig/Pattern.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/Pattern.i')
-rw-r--r--swig/Pattern.i43
1 files changed, 43 insertions, 0 deletions
diff --git a/swig/Pattern.i b/swig/Pattern.i
new file mode 100644
index 0000000..28edfd2
--- /dev/null
+++ b/swig/Pattern.i
@@ -0,0 +1,43 @@
+ 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:
+ /** */
+ bool isDefault() const;
+ /** */
+ bool userVisible() const;
+ /** */
+ std::string category() const;
+ /** */
+ Pathname icon() const;
+ /** */
+ Pathname script() const;
+ /** */
+ Label order() const;
+
+ /** \deprecated AFAIK unused old Selection interface method. */
+ std::set<std::string> install_packages( const Locale & lang = Locale("") ) const;
+
+ /** Ui hint. */
+ const CapSet & includes() const;
+ /** Ui hint. */
+ const CapSet & extends() const;
+
+ 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;
+ };