mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-05 15:30:00 +01:00
27 lines
390 B
C++
27 lines
390 B
C++
#ifndef SELECTION_H
|
|
#define SELECTION_H
|
|
|
|
#include "Source.h"
|
|
|
|
class Selection
|
|
{
|
|
|
|
public:
|
|
Selection();
|
|
|
|
void add (Source *s);
|
|
void add (SourceList l);
|
|
void remove (Source *s);
|
|
void remove (SourceList l);
|
|
void clear ();
|
|
|
|
bool contains (Source *s);
|
|
|
|
protected:
|
|
SourceList::iterator find (Source *s);
|
|
SourceList selection_;
|
|
|
|
};
|
|
|
|
#endif // SELECTION_H
|