\hypertarget{structmwConferenceHandler}{ \section{mwConferenceHandler Struct Reference} \label{structmwConferenceHandler}\index{mwConferenceHandler@{mwConferenceHandler}} } {\tt \#include $<$mw\_\-srvc\_\-conf.h$>$} \subsection{Detailed Description} Handler structure used to provide callbacks for an instance of the conferencing service. \subsection*{Data Fields} \begin{CompactItemize} \item void($\ast$ \hyperlink{structmwConferenceHandler_aeabf8dc22690c323864ac4cfd5a6871}{clear} )(struct \hyperlink{structmwServiceConference}{mwServiceConference} $\ast$srvc) \begin{CompactList}\small\item\em optional. \item\end{CompactList}\item void($\ast$ \hyperlink{structmwConferenceHandler_daf2d26388570cded44a62071755861c}{conf\_\-closed} )(struct \hyperlink{structmwConference}{mwConference} $\ast$, guint32 reason) \begin{CompactList}\small\item\em triggered when a conference is closed. \item\end{CompactList}\item void($\ast$ \hyperlink{structmwConferenceHandler_a2cfcf5618553566171d563aa28143b3}{conf\_\-opened} )(struct \hyperlink{structmwConference}{mwConference} $\ast$conf, GList $\ast$members) \begin{CompactList}\small\item\em triggered when we enter the conference. \item\end{CompactList}\item void($\ast$ \hyperlink{structmwConferenceHandler_91714a43285481c1a5d69c6555c3e63b}{on\_\-invited} )(struct \hyperlink{structmwConference}{mwConference} $\ast$conf, struct \hyperlink{structmwLoginInfo}{mwLoginInfo} $\ast$inviter, const char $\ast$invite) \begin{CompactList}\small\item\em triggered when we receive a conference invitation. \item\end{CompactList}\item void($\ast$ \hyperlink{structmwConferenceHandler_c100418474bbc4436df60eea3b27c61e}{on\_\-peer\_\-joined} )(struct \hyperlink{structmwConference}{mwConference} $\ast$, struct \hyperlink{structmwLoginInfo}{mwLoginInfo} $\ast$) \begin{CompactList}\small\item\em triggered when someone joins the conference \item\end{CompactList}\item void($\ast$ \hyperlink{structmwConferenceHandler_a6cc8db29ea47b86ab122d496105c637}{on\_\-peer\_\-parted} )(struct \hyperlink{structmwConference}{mwConference} $\ast$, struct \hyperlink{structmwLoginInfo}{mwLoginInfo} $\ast$) \begin{CompactList}\small\item\em triggered when someone leaves the conference \item\end{CompactList}\item void($\ast$ \hyperlink{structmwConferenceHandler_3dec196446b69bbb37461d4ae977bee3}{on\_\-text} )(struct \hyperlink{structmwConference}{mwConference} $\ast$conf, struct \hyperlink{structmwLoginInfo}{mwLoginInfo} $\ast$who, const char $\ast$what) \begin{CompactList}\small\item\em triggered when someone says something \item\end{CompactList}\item void($\ast$ \hyperlink{structmwConferenceHandler_a6f01c365dfb40da0866f96301ac625b}{on\_\-typing} )(struct \hyperlink{structmwConference}{mwConference} $\ast$conf, struct \hyperlink{structmwLoginInfo}{mwLoginInfo} $\ast$who, gboolean typing) \begin{CompactList}\small\item\em typing notification \item\end{CompactList}\end{CompactItemize} \subsection{Field Documentation} \hypertarget{structmwConferenceHandler_aeabf8dc22690c323864ac4cfd5a6871}{ \index{mwConferenceHandler@{mwConferenceHandler}!clear@{clear}} \index{clear@{clear}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::clear})(struct {\bf mwServiceConference} $\ast$srvc)}} \label{structmwConferenceHandler_aeabf8dc22690c323864ac4cfd5a6871} optional. called from mwService\_\-free \hypertarget{structmwConferenceHandler_daf2d26388570cded44a62071755861c}{ \index{mwConferenceHandler@{mwConferenceHandler}!conf\_\-closed@{conf\_\-closed}} \index{conf\_\-closed@{conf\_\-closed}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::conf\_\-closed})(struct {\bf mwConference} $\ast$, guint32 reason)}} \label{structmwConferenceHandler_daf2d26388570cded44a62071755861c} triggered when a conference is closed. This is typically when we've left it \hypertarget{structmwConferenceHandler_a2cfcf5618553566171d563aa28143b3}{ \index{mwConferenceHandler@{mwConferenceHandler}!conf\_\-opened@{conf\_\-opened}} \index{conf\_\-opened@{conf\_\-opened}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::conf\_\-opened})(struct {\bf mwConference} $\ast$conf, GList $\ast$members)}} \label{structmwConferenceHandler_a2cfcf5618553566171d563aa28143b3} triggered when we enter the conference. Provides the initial conference membership list as a GList of \hyperlink{structmwLoginInfo}{mwLoginInfo} structures \begin{Desc} \item[Parameters:] \begin{description} \item[{\em conf}]the conference just joined \item[{\em members}]\hyperlink{structmwLoginInfo}{mwLoginInfo} list of existing conference members \end{description} \end{Desc} \hypertarget{structmwConferenceHandler_91714a43285481c1a5d69c6555c3e63b}{ \index{mwConferenceHandler@{mwConferenceHandler}!on\_\-invited@{on\_\-invited}} \index{on\_\-invited@{on\_\-invited}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::on\_\-invited})(struct {\bf mwConference} $\ast$conf, struct {\bf mwLoginInfo} $\ast$inviter, const char $\ast$invite)}} \label{structmwConferenceHandler_91714a43285481c1a5d69c6555c3e63b} triggered when we receive a conference invitation. Call mwConference\_\-accept to accept the invitation and join the conference, or mwConference\_\-close to reject the invitation. \begin{Desc} \item[Parameters:] \begin{description} \item[{\em conf}]the newly created conference \item[{\em inviter}]the indentity of the user who sent the invitation \item[{\em invite}]the invitation text \end{description} \end{Desc} \hypertarget{structmwConferenceHandler_c100418474bbc4436df60eea3b27c61e}{ \index{mwConferenceHandler@{mwConferenceHandler}!on\_\-peer\_\-joined@{on\_\-peer\_\-joined}} \index{on\_\-peer\_\-joined@{on\_\-peer\_\-joined}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::on\_\-peer\_\-joined})(struct {\bf mwConference} $\ast$, struct {\bf mwLoginInfo} $\ast$)}} \label{structmwConferenceHandler_c100418474bbc4436df60eea3b27c61e} triggered when someone joins the conference \hypertarget{structmwConferenceHandler_a6cc8db29ea47b86ab122d496105c637}{ \index{mwConferenceHandler@{mwConferenceHandler}!on\_\-peer\_\-parted@{on\_\-peer\_\-parted}} \index{on\_\-peer\_\-parted@{on\_\-peer\_\-parted}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::on\_\-peer\_\-parted})(struct {\bf mwConference} $\ast$, struct {\bf mwLoginInfo} $\ast$)}} \label{structmwConferenceHandler_a6cc8db29ea47b86ab122d496105c637} triggered when someone leaves the conference \hypertarget{structmwConferenceHandler_3dec196446b69bbb37461d4ae977bee3}{ \index{mwConferenceHandler@{mwConferenceHandler}!on\_\-text@{on\_\-text}} \index{on\_\-text@{on\_\-text}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::on\_\-text})(struct {\bf mwConference} $\ast$conf, struct {\bf mwLoginInfo} $\ast$who, const char $\ast$what)}} \label{structmwConferenceHandler_3dec196446b69bbb37461d4ae977bee3} triggered when someone says something \hypertarget{structmwConferenceHandler_a6f01c365dfb40da0866f96301ac625b}{ \index{mwConferenceHandler@{mwConferenceHandler}!on\_\-typing@{on\_\-typing}} \index{on\_\-typing@{on\_\-typing}!mwConferenceHandler@{mwConferenceHandler}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwConferenceHandler::on\_\-typing})(struct {\bf mwConference} $\ast$conf, struct {\bf mwLoginInfo} $\ast$who, gboolean typing)}} \label{structmwConferenceHandler_a6f01c365dfb40da0866f96301ac625b} typing notification The documentation for this struct was generated from the following file:\begin{CompactItemize} \item \hyperlink{mw__srvc__conf_8h}{mw\_\-srvc\_\-conf.h}\end{CompactItemize}