00001 #ifndef ERIS_TYPES_H
00002 #define ERIS_TYPES_H
00003
00004
00005 #include <string>
00006 #include <list>
00007 #include <set>
00008
00009 namespace Atlas { namespace Message { class Element; } }
00010
00011 namespace Eris
00012 {
00013
00014 typedef std::list<std::string> StringList;
00015 typedef std::set<std::string> StringSet;
00016
00017 typedef std::list<Atlas::Message::Element> MessageList;
00018
00019
00020 class Entity;
00021 typedef Entity* EntityPtr;
00022
00023
00024 class TypeInfo;
00025 class TypeService;
00026 class Connection;
00027 class Avatar;
00028
00029 typedef TypeInfo* TypeInfoPtr;
00030
00034 typedef enum
00035 {
00036 NO_ERR = 0,
00037 NOT_CONNECTED,
00039 NOT_LOGGED_IN,
00041 ALREADY_LOGGED_IN,
00042 DUPLICATE_CHAR_ACTIVE,
00043 BAD_CHARACTER_ID
00044 } Result;
00045
00046 void mergeOrCopyElement(const Atlas::Message::Element& src, Atlas::Message::Element& dst);
00047
00048 }
00049
00050 #endif