X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Flist.h;fp=source%2Flist.h;h=68a96bf36cb65fb0c9361a0b1a156984cc1cd12f;hp=19fdaa5df6f4592f2682b0c80982e62a8c697d62;hb=56c41b294aa47a38ac3e1be70d4868f260cb4274;hpb=771764f735ffe01cb170a10b24eb7dfc2a81b34d diff --git a/source/list.h b/source/list.h index 19fdaa5..68a96bf 100644 --- a/source/list.h +++ b/source/list.h @@ -7,6 +7,7 @@ #include "container.h" #include "label.h" #include "listdata.h" +#include "mspgltk_api.h" #include "slider.h" namespace Msp { @@ -15,7 +16,7 @@ namespace GLtk { /** Thrown if a list's item type is incompatible with its data. */ -class incompatible_data: public std::logic_error +class MSPGLTK_API incompatible_data: public std::logic_error { public: incompatible_data(const std::type_info &); @@ -27,7 +28,7 @@ public: Shows a list of items, allowing the user to select one. A slider is included to allow scrolling through a long list. */ -class List: virtual public Widget, private Container +class MSPGLTK_API List: virtual public Widget, private Container { public: enum ViewMode @@ -246,7 +247,7 @@ private: static void adjust_index(int &, int, int); }; -void operator>>(const LexicalConverter &, List::ViewMode &); +MSPGLTK_API void operator>>(const LexicalConverter &, List::ViewMode &); } // namespace GLtk } // namespace Msp