XMLConstantNode.h

00001 /***************************************************************************
00002                           XMLConstantNode.h  -  description
00003                              -------------------
00004     begin                : mar avr 11 2006
00005     copyright            : (C) 2006 by Sylvain Archenault <sylvain.archenault@laposte.net>, \n Yves Houpert <yves.houpert@insa-rouen.fr> <>
00006  
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef XMLCONSTANT_H
00019 #define XMLCONSTANT_H
00020 
00021 static const int CONNECTION_REQUEST = 1;
00022 static const int ADDCONTACT_REQUEST = 2;
00023 static const int DELCONTACT_REQUEST = 3;
00024 static const int CONTACTLIST_REQUEST = 4;
00025 
00026 static const int STATECHANGED_EVENT = 101;
00027 
00028 #define REQUEST_ROOT  "request"
00029 
00030 #define ANSWER_ROOT  "answer"
00031 #define ANSWER_VALUE  "value"
00032 #define ANSWER_DESCRIPTION  "description"
00033 
00034 #define USERID_ATTR "user-id"
00035 
00036 #define CONTACTLIST_ROOT  "contactlist"
00037 
00038 #define BAMBOO_ROOT  "bamboo"
00039 
00041 #define TO_NODE  "to"
00042 
00044 #define CONTENT_NODE  "content"
00045 
00047 #define FROM_NODE  "from"
00048 
00050 #define MESSAGE_ROOT  "message"
00051 
00053 #define HEADER_SESSIONID  "session-id"
00054 
00056 #define HEADER_ROOT  "header"
00057 
00058 //#define PARAM_NODE "param"
00059 
00060 #endif

Generated on Fri May 19 12:15:54 2006 for Bamboo Ch@t by  doxygen 1.4.6