/*************************************************************************** * Copyright (C) 2006 Nicolas Hadacek * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #ifndef BREAKPOINT_H #define BREAKPOINT_H #include "common/common/storage.h" #include "common/global/purl.h" #include "devices/base/generic_device.h" namespace Breakpoint { class List; enum State { Unknown, Active, Disabled }; enum MarkType { ProgramCounterActive = 0, ProgramCounterDisabled, BreakpointActive, BreakpointDisabled, BreakpointReached, BreakpointInvalid, Nb_MarkTypes }; //---------------------------------------------------------------------------- class Data { public: Data(const PURL::Url &purl = PURL::Url(), uint pline = 0) : url(purl), line(pline) {} bool operator <(const Data &data) const { return ( url _list; TQValueList::const_iterator tqfind(const Data &data) const; TQValueList::iterator tqfind(const Data &data); }; } // namespace #endif