The roster now starts with the local peers from DcPeers (presence mark, blocked note), selecting one shows identity, fingerprint, address and state in the transcript, and a double-click opens the peer dialog with the Blocked toggle (applied at once via dc_peer_set_blocked). The demo model drops its old Nearby account in favour of two synthetic peers; --smoke-test selects alice-id, checks the fingerprint in the transcript and opens/closes the dialog. Standalone Motif build and both Xvfb smokes PASS; screenshot build/mcde-shots/dtchat-t58.png. The file send/receive part of T5.8 is still open. make mcde-host still blocked by pid 2126511 (sourcesets, 31 min).
22 lines
607 B
C
22 lines
607 B
C
/*
|
|
* ui_peer.h -- the peer details dialog
|
|
*
|
|
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
|
|
*/
|
|
#ifndef _Dtchat_ui_peer_h
|
|
#define _Dtchat_ui_peer_h
|
|
|
|
#include <X11/Intrinsic.h>
|
|
|
|
#include "dc_internal.h"
|
|
|
|
typedef struct DtPeerDialog DtPeerDialog;
|
|
typedef void (*DtPeerBlockFn)(const char *id, int blocked, void *arg);
|
|
|
|
DtPeerDialog *dtchat_peer_dialog_create(Widget parent, DcPeer *peer,
|
|
DtPeerBlockFn blocked, void *arg);
|
|
void dtchat_peer_dialog_destroy(DtPeerDialog *dialog);
|
|
Widget dtchat_peer_dialog_shell(const DtPeerDialog *dialog);
|
|
|
|
#endif /* _Dtchat_ui_peer_h */
|