#ifndef ERIS_TYPES_H #define ERIS_TYPES_H // system headers #include #include #include #include namespace Atlas { namespace Message { class Element; } } namespace Eris { typedef std::list StringList; typedef std::set StringSet; typedef std::list MessageList; // Forward Decls class Entity; typedef Entity* EntityPtr; // lots of forward decleratrions class TypeInfo; class TypeService; class Connection; class Avatar; typedef TypeInfo* TypeInfoPtr; typedef std::set TypeInfoSet; typedef std::vector TypeInfoArray; /** Result codes returned from various methods. */ typedef enum { NO_ERR = 0, NOT_CONNECTED, /// Occurs when performing an operation that requires a valid server login NOT_LOGGED_IN, /// Occurs when trying to log in to an Account which is already logged in ALREADY_LOGGED_IN, DUPLICATE_CHAR_ACTIVE, BAD_CHARACTER_ID } Result; void mergeOrCopyElement(const Atlas::Message::Element& src, Atlas::Message::Element& dst); } #endif