#ifndef _ALADIN_PROFILES_HPP_ #define _ALADIN_PROFILES_HPP_ #ifndef _COMMON_BLOCK_HPP_ #include #endif #ifndef _COMMON_ARRAY_HPP_ #include #endif #ifndef _ALADIN_STATUS_HPP_ #include #endif #ifndef _ALADIN_INFORMATION_HPP_ #include #endif #ifndef _ALADIN_DIVEPROFILE_HPP_ #include #endif #ifndef _ALADIN_RAWDATA_HPP_ #include #endif class File; typedef Block DiveProfiles; class Profiles : public DiveProfiles { public: enum{Marker=0xFF}; bool readFrom(RawData &array,Information &info,CurrentStatus &status); bool readFrom(File &inFile); bool writeTo(File &outFile); bool haveProfile(DiveProfile &diveProfile); private: int getNextMarkerPos(Array &array,int currIndex); }; #endif