\hypertarget{structmwImHandler}{
\section{mwImHandler Struct Reference}
\label{structmwImHandler}\index{mwImHandler@{mwImHandler}}
}
{\tt \#include $<$mw\_\-srvc\_\-im.h$>$}



\subsection{Detailed Description}
IM Service Handler. 

Provides functions for events triggered from an IM service instance. \subsection*{Data Fields}
\begin{CompactItemize}
\item 
void($\ast$ \hyperlink{structmwImHandler_b3ff218f0d3af21429b355943fa57044}{clear} )(struct \hyperlink{structmwServiceIm}{mwServiceIm} $\ast$srvc)
\begin{CompactList}\small\item\em optional. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwImHandler_9adb678c4a916dff1787fe089a6d3410}{conversation\_\-closed} )(struct \hyperlink{structmwConversation}{mwConversation} $\ast$conv, guint32 err)
\begin{CompactList}\small\item\em A conversation has been closed. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwImHandler_b8594d1cb6e77db3e1e5b791fc43161b}{conversation\_\-opened} )(struct \hyperlink{structmwConversation}{mwConversation} $\ast$conv)
\begin{CompactList}\small\item\em A conversation has been successfully opened. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwImHandler_2e711aa7db91b287102156999d488ca6}{conversation\_\-recv} )(struct \hyperlink{structmwConversation}{mwConversation} $\ast$conv, enum \hyperlink{mw__srvc__im_8h_cdce2eef1ff823bf823e533410061a63}{mwImSendType} type, gconstpointer msg)
\begin{CompactList}\small\item\em A message has been received on a conversation. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwImHandler_c10638fef527630c673aa24d4c8ba9ca}{place\_\-invite} )(struct \hyperlink{structmwConversation}{mwConversation} $\ast$conv, const char $\ast$message, const char $\ast$title, const char $\ast$name)
\begin{CompactList}\small\item\em Handle a Place invitation. \item\end{CompactList}\end{CompactItemize}


\subsection{Field Documentation}
\hypertarget{structmwImHandler_b3ff218f0d3af21429b355943fa57044}{
\index{mwImHandler@{mwImHandler}!clear@{clear}}
\index{clear@{clear}!mwImHandler@{mwImHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwImHandler::clear})(struct {\bf mwServiceIm} $\ast$srvc)}}
\label{structmwImHandler_b3ff218f0d3af21429b355943fa57044}


optional. 

called from mwService\_\-free \hypertarget{structmwImHandler_9adb678c4a916dff1787fe089a6d3410}{
\index{mwImHandler@{mwImHandler}!conversation\_\-closed@{conversation\_\-closed}}
\index{conversation\_\-closed@{conversation\_\-closed}!mwImHandler@{mwImHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwImHandler::conversation\_\-closed})(struct {\bf mwConversation} $\ast$conv, guint32 err)}}
\label{structmwImHandler_9adb678c4a916dff1787fe089a6d3410}


A conversation has been closed. 

\hypertarget{structmwImHandler_b8594d1cb6e77db3e1e5b791fc43161b}{
\index{mwImHandler@{mwImHandler}!conversation\_\-opened@{conversation\_\-opened}}
\index{conversation\_\-opened@{conversation\_\-opened}!mwImHandler@{mwImHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwImHandler::conversation\_\-opened})(struct {\bf mwConversation} $\ast$conv)}}
\label{structmwImHandler_b8594d1cb6e77db3e1e5b791fc43161b}


A conversation has been successfully opened. 

\hypertarget{structmwImHandler_2e711aa7db91b287102156999d488ca6}{
\index{mwImHandler@{mwImHandler}!conversation\_\-recv@{conversation\_\-recv}}
\index{conversation\_\-recv@{conversation\_\-recv}!mwImHandler@{mwImHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwImHandler::conversation\_\-recv})(struct {\bf mwConversation} $\ast$conv, enum {\bf mwImSendType} type, gconstpointer msg)}}
\label{structmwImHandler_2e711aa7db91b287102156999d488ca6}


A message has been received on a conversation. 

\hypertarget{structmwImHandler_c10638fef527630c673aa24d4c8ba9ca}{
\index{mwImHandler@{mwImHandler}!place\_\-invite@{place\_\-invite}}
\index{place\_\-invite@{place\_\-invite}!mwImHandler@{mwImHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwImHandler::place\_\-invite})(struct {\bf mwConversation} $\ast$conv, const char $\ast$message, const char $\ast$title, const char $\ast$name)}}
\label{structmwImHandler_c10638fef527630c673aa24d4c8ba9ca}


Handle a Place invitation. 

Set this to NULL and we should end up receiving a conference invitation instead. 

The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
\hyperlink{mw__srvc__im_8h}{mw\_\-srvc\_\-im.h}\end{CompactItemize}
