1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef BRUSHINGHANDLER_H #define BRUSHINGHANDLER_H #include <nod.hpp> class BrushingHandler { public: BrushingHandler(); void clearBrush(); void brushItem(int item); nod::signal<void(int)> itemBrushed; private: int m_brushedItem; }; #endif // BRUSHINGHANDLER_H