28 lines
625 B
C++
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
|