Files
Work/aladin/hold/profiles.hpp
2024-08-07 09:12:07 -04:00

28 lines
625 B
C++

#ifndef _ALADIN_PROFILES_HPP_
#define _ALADIN_PROFILES_HPP_
#ifndef _COMMON_BLOCK_HPP_
#include <common/block.hpp>
#endif
#ifndef _COMMON_ARRAY_HPP_
#include <common/array.hpp>
#endif
#ifndef _ALADIN_STATUS_HPP_
#include <aladin/status.hpp>
#endif
#ifndef _ALADIN_INFORMATION_HPP_
#include <aladin/information.hpp>
#endif
#ifndef _ALADIN_DIVEPROFILE_HPP_
#include <aladin/diveprofile.hpp>
#endif
class Profiles : public Block<DiveProfile>
{
public:
enum{Marker=0xFF};
bool readFrom(Array<BYTE> &array,Information &info,CurrentStatus &status);
private:
int getNextMarkerPos(Array<BYTE> &array,int currIndex);
};
#endif