/* * 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 #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 */