/* * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #ifndef IMAGE_H #define IMAGE_H #include #include #include #include "ImageInfo.h" class Team; class Image : public Referenceable, public DoublyLinkedListLinkImpl { public: Image(Team* team, const ImageInfo& imageInfo); ~Image(); status_t Init(); Team* GetTeam() const { return fTeam; } image_id ID() const { return fInfo.ImageID(); } const char* Name() const { return fInfo.Name(); } const ImageInfo& Info() const { return fInfo; } private: Team* fTeam; ImageInfo fInfo; }; typedef DoublyLinkedList ImageList; #endif // IMAGE_H