malformed software package entries not added to package list during configuration...
[public/netxms.git] / src / server / include / nms_objects.h
index 68d5fd2..fb162d4 100644 (file)
@@ -342,14 +342,17 @@ private:
        TCHAR *m_url;
        TCHAR *m_description;
 
+       SoftwarePackage();
+
 public:
-       SoftwarePackage(Table *table, int row);
        ~SoftwarePackage();
 
        void fillMessage(NXCPMessage *msg, UINT32 baseId) const;
 
        const TCHAR *getName() const { return m_name; }
        const TCHAR *getVersion() const { return m_version; }
+
+       static SoftwarePackage *createFromTableRow(const Table *table, int row);
 };
 
 /**