summaryrefslogtreecommitdiff
path: root/xmlspec/XMLChangelog.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmlspec/XMLChangelog.h')
-rw-r--r--xmlspec/XMLChangelog.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/xmlspec/XMLChangelog.h b/xmlspec/XMLChangelog.h
index 959936de5..45c7b4321 100644
--- a/xmlspec/XMLChangelog.h
+++ b/xmlspec/XMLChangelog.h
@@ -308,6 +308,20 @@ protected:
class XMLChangelog : public XMLBase
{
//
+// static factory functions
+//
+public:
+ /**
+ * Creates changelog objects from an RPM Spec structure
+ * .
+ * @param pSpec Pointer to the RPM spec
+ * @param pXSpec pointer to the XMLSpec object to populate
+ * @return true on success, false otherwise
+ **/
+ static bool structCreate(Spec pSpec,
+ XMLSpec* pXSpec);
+
+//
// constructors/destructor
//
public: