1 #ifndef RS_BLOCKLISTLISTENER_H
2 #define RS_BLOCKLISTLISTENER_H
7 * This class is an interface for classes that are interested in
8 * knowing about changes in the block list.
10 class RS_BlockListListener
13 RS_BlockListListener() {}
14 virtual ~RS_BlockListListener() {}
17 * Called when the active block changes.
19 virtual void blockActivated(RS_Block*) {}
22 * Called when a new block is added to the list.
24 virtual void blockAdded(RS_Block*) {}
27 * Called when a block is removed from the list.
29 virtual void blockRemoved(RS_Block*) {}
32 * Called when a block's attributes are modified.
34 virtual void blockEdited(RS_Block*) {}
37 * Called when a block's visibility is toggled.
39 virtual void blockToggled(RS_Block*) {}