mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 09:10:20 +00:00
Implemented clear functionality for DCC download manager. Created clear button in DCC downloaded manager interface.
This commit is contained in:
@@ -227,6 +227,15 @@ is_dcc (struct DCC *dcc)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
is_dcc_fcompleted (struct DCC *dcc)
|
||||
{
|
||||
if (dcc != NULL)
|
||||
return (dcc->dccstat == STAT_FAILED || dcc->dccstat == STAT_DONE || dcc->dccstat == STAT_ABORTED);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* this is called from hexchat.c:hexchat_misc_checks() every 1 second. */
|
||||
|
||||
void
|
||||
|
||||
@@ -117,6 +117,7 @@ struct dccstat_info
|
||||
extern struct dccstat_info dccstat[];
|
||||
|
||||
gboolean is_dcc (struct DCC *dcc);
|
||||
gboolean is_dcc_fcompleted (struct DCC *dcc);
|
||||
void dcc_abort (session *sess, struct DCC *dcc);
|
||||
void dcc_get (struct DCC *dcc);
|
||||
int dcc_resume (struct DCC *dcc);
|
||||
|
||||
Reference in New Issue
Block a user