]> git.tdb.fi Git - builder.git/blobdiff - source/lib/pattern.h
Use the architecture's patterns to remove prefix from libname
[builder.git] / source / lib / pattern.h
index 8c623bda81eeac0036bc731ef2686d615ed459ef..5da52eb7d1f3a4786fcd76b5a8b0b47e742e563e 100644 (file)
@@ -20,6 +20,9 @@ public:
        one percent sign (%) to separate the prefix and suffix. */
        Pattern(const std::string &);
 
+       const std::string &get_prefix() const { return prefix; }
+       const std::string &get_suffix() const { return suffix; }
+
        /** Applies the pattern to a body string. */
        std::string apply(const std::string &) const;