Menu

Commit [r241]  Maximize  Restore  History

Added priority enqueuing to the plugins.

The plugins can have a priority between 0 (lowest) and 255 (highest). In this order they will be searched afterwards, without loosing the underlaying vector.
Used std::make_heap and std::push_heap to achieve this.

heiko 2012-12-31

changed /trunk/hgl/hgl.kdevelop
changed /trunk/hgl/src/control/cgicontrolsource.cpp
changed /trunk/hgl/src/control/icontrolsource.h
changed /trunk/hgl/src/interpreter/main.cpp
/trunk/hgl/hgl.kdevelop Diff Switch to side-by-side view
Loading...
/trunk/hgl/src/control/cgicontrolsource.cpp Diff Switch to side-by-side view
Loading...
/trunk/hgl/src/control/icontrolsource.h Diff Switch to side-by-side view
Loading...
/trunk/hgl/src/interpreter/main.cpp Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB