Files
Upsilon/apps/shared/storage_function_banner_delegate.h
Émilie Feral c70278941a [graph] Do not keep a function pointer as member variable but a record.
Indeed, function pointers can become invalid at any point...
2018-11-23 12:04:02 +01:00

21 lines
530 B
C++

#ifndef SHARED_STORAGE_FUNCTION_BANNER_DELEGATE_H
#define SHARED_STORAGE_FUNCTION_BANNER_DELEGATE_H
#include "storage_function_store.h"
#include "banner_view.h"
#include "curve_view_cursor.h"
namespace Shared {
class StorageFunctionBannerDelegate {
public:
constexpr static int k_maxNumberOfCharacters = 50;
protected:
void reloadBannerViewForCursorOnFunction(CurveViewCursor * cursor, Ion::Storage::Record record, StorageFunctionStore * functionStore, char symbol);
virtual BannerView * bannerView() = 0;
};
}
#endif