mirror of
https://gitlab.com/square-game-liberation-front/F.E.I.S.git
synced 2025-02-24 14:03:54 +01:00
25 lines
441 B
C
25 lines
441 B
C
|
//
|
||
|
// Created by Syméon on 27/03/2019.
|
||
|
//
|
||
|
|
||
|
#ifndef FEIS_NOTESCLIPBOARD_H
|
||
|
#define FEIS_NOTESCLIPBOARD_H
|
||
|
|
||
|
#include <set>
|
||
|
#include "Note.h"
|
||
|
|
||
|
class NotesClipboard {
|
||
|
public:
|
||
|
explicit NotesClipboard(const std::set<Note> ¬es = {});
|
||
|
|
||
|
void copy(const std::set<Note> ¬es);
|
||
|
std::set<Note> paste(int tick_offset);
|
||
|
|
||
|
bool empty() {return contents.empty();};
|
||
|
private:
|
||
|
std::set<Note> contents;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //FEIS_NOTESCLIPBOARD_H
|