2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
14 #include "Observable.h"
18 class Selection
: public Observable
{
24 bool Select(Selectable
* object
,
26 void Deselect(Selectable
* object
);
30 Selectable
* SelectableAt(int32 index
) const;
31 Selectable
* SelectableAtFast(int32 index
) const;
32 int32
CountSelected() const;
35 void _DeselectAllExcept(Selectable
* object
);