General changes

OHP has been migrated to Qt4.

Variables support has been added to thge OHP configuration file. The <general> XML tag may contain now arbitrary number of variables definitions in the form of simple XML tags called "variable", for example:

<variable name="SERVER" value="Histogramming"/>

Variables can be used in any XML token of the same or an included XML file. Any token like ${VARIBEL_NAME} or $(VARIABLE_NAM) will be replaced with the value of the "VARIABLE_NAME" variable. For example in the follow2ing plugin configuration all histograms will be taken from the IS server called "Histogramming":

<plugin name="test" library="libohpplugins.so" type="HistoWindowPlugin">
  
<ndivx>2</ndivx>
  
<ndivy>2</ndivy>
  
<histos is-multi-value="yes">"$(SERVER)/Provider/a $(SERVER)/Provider/b $(SERVER)/Provider/c"</histos>
</plugin>

Changes in the public API

The public API for custom plugins has been slightly changed.

The ohp::PluginBase class provides now 3 virtual functions which can be re-implemented by a custom plugin: