public:
pkgListViewMaker( HWND );
virtual void Dispatch( pkgXmlNode * );
+ virtual void MarkScheduledActions( pkgActionItem * );
+ virtual void UpdateListView( void );
private:
HWND ListView;
LVITEM content;
- char *GetTitle( pkgXmlNode *pkg )
- {
- return GetTitle( pkg, pkg->GetDocumentRoot() );
- }
- char *GetTitle( pkgXmlNode *, const pkgXmlNode * );
- char *GetVersionString( char *, pkgSpecs * );
+ inline bool GetItem( void );
void InsertItem( pkgXmlNode *, char * );
+ void UpdateItem( char *, bool = false );
char *package_name;
};
pkgDirectory *next;
};
+/* The following helper function is used to retrieve release availability
+ * and installation status attributes for any specified package, from the
+ * XML database, returning specifications for the latest available release
+ * and the installed release, if any, in the to_install and the to_remove
+ * selection fields of the passed pkgActionItem structure respectively.
+ */
+EXTERN_C pkgXmlNode *pkgGetStatus( pkgXmlNode *, pkgActionItem * );
+
#endif /* PKGLIST_H: $RCSfile$: end of file */