#ifndef __FRAMELIST_HPP #define __FRAMELIST_HPP class ICEFrame; class FrameList { struct entry { ICEFrame *frame; entry *prev,next; }; entry *first; public: FrameList(); ~FrameList(); int insertFrame(ICEFrame *frame); ICEFrame *queryPreviousFrame(ICEFrame *frame); ICEFrame *queryNextFrame(ICEFrame *frame); void removeFrame(ICEFrame *frame); int queryCount() const; }; #endif