- Ported wizards, altough still missing the way
to copy them into the install destination directory - Yaling in preferences treeviews - Changing policy now resets history - Corrected some detail in speed control widget git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@995 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
f003779a04
commit
b4f8c61695
25 changed files with 1178 additions and 1088 deletions
|
@ -23,6 +23,7 @@
|
|||
#include "cpu_policies_gatekeeper.hh"
|
||||
#include "cpu_policy_manager.hh"
|
||||
#include "cpu_policy.hh"
|
||||
#include "concrete_history.hh"
|
||||
|
||||
// Include full template definition only in implementation files:
|
||||
#include "singleton.tcc"
|
||||
|
@ -120,6 +121,8 @@ CPUPoliciesGatekeeper::activate_policy(History *history, CPUPolicy* policy) thro
|
|||
{
|
||||
policy->activate();
|
||||
_active_policies[history] = policy;
|
||||
// the content of history (if any) is not vaild any more.
|
||||
dynamic_cast<ConcreteHistory*>(history)->reset(true);
|
||||
}
|
||||
catch(const CPUPolicyException& e)
|
||||
{
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "resource_policies_gatekeeper.hh"
|
||||
#include "resource_policy_manager.hh"
|
||||
#include "resource_policy.hh"
|
||||
#include "concrete_history.hh"
|
||||
|
||||
// Include full template definition only in implementation files:
|
||||
#include "singleton.tcc"
|
||||
|
@ -94,6 +95,8 @@ ResourcePoliciesGatekeeper::activate_policy(History *history, ResourcePolicy* po
|
|||
assert(history != NULL && policy != NULL);
|
||||
|
||||
_active_policies[history] = policy;
|
||||
// the content of history (if any) is not vaild any more.
|
||||
dynamic_cast<ConcreteHistory*>(history)->reset(true);
|
||||
}
|
||||
|
||||
ResourcePoliciesGatekeeper::ResourcePoliciesGatekeeper()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue