index cef369056e4a6ccdbb89a163e3f0a55f21974742..e08d876a680de0ec5f126fec65f6529b3205f5a3 100644 (file)
namespace Message {
- typedef int const Wrapper;
+ typedef char const* Wrapper;
typedef char const* Message;
extern Wrapper PROTOCOL;
extern SessionType WHITEBOARD_MUC;
extern SessionType WHITEBOARD_PEER;
+ typedef char const* SessionState;
+}
+
+namespace Dialog {
+
+enum DialogReply {
+
+ ACCEPT_INVITATION = 0,
+ DECLINE_INVITATION = 1
+};
+
}
// message types
// explicitly numbered to aid protocol description later on
-// Responses to whiteboard invitations
-enum InvitationResponses {
- ACCEPT_INVITATION,
- DECLINE_INVITATION,
- PEER_ALREADY_IN_SESSION,
- UNSUPPORTED_PROTOCOL
-};
// Message handler modes
enum HandlerMode {
// Message serialization
typedef std::list< Glib::ustring > SerializedEventList;
+
+ //typedef std::pair< Glib::ustring, InvitationResponses > Invitation_response_type;
+ //typedef std::list< Invitation_response_type > Invitation_responses_type;
// Error handling -- someday
// TODO: finish and integrate this
//typedef boost::function< LmHandlerResult (unsigned int code) > ErrorHandlerFunctor;