1 #ifndef H_EXTENSIONS_CUTEHMI_SERVICES_2_INCLUDE_CUTEHMI_SERVICES_SERVICEMANAGER_HPP 
    2 #define H_EXTENSIONS_CUTEHMI_SERVICES_2_INCLUDE_CUTEHMI_SERVICES_SERVICEMANAGER_HPP 
    4 #include "internal/common.hpp" 
    5 #include "ServiceListModel.hpp" 
    7 #include <cutehmi/Singleton.hpp> 
   32         static constexpr 
int INITIAL_MAX_ACTIVE_SERVICES = 1;
 
   33         static constexpr 
int INITIAL_REPAIR_INTERVAL = 10000;
 
   38         Q_PROPERTY(
int maxActiveServices READ maxActiveServices WRITE setMaxActiveServices NOTIFY maxActiveServicesChanged)
 
   43         Q_PROPERTY(
int repairInterval READ repairInterval WRITE setRepairInterval NOTIFY repairIntervalChanged)
 
   48         Q_PROPERTY(
int runningServices READ runningServices NOTIFY runningServicesChanged)
 
   50         int maxActiveServices() const;
 
   52         void setMaxActiveServices(
int maxActiveServices);
 
   54         int repairInterval() const;
 
   56         void setRepairInterval(
int repairInterval);
 
   58         int runningServices() const;
 
   72         void maxActiveServicesChanged();
 
   74         void repairIntervalChanged();
 
   76         void runningServicesChanged();
 
   96             int maxActiveServices;
 
  105                 maxActiveServices(INITIAL_MAX_ACTIVE_SERVICES),
 
  106                 repairInterval(INITIAL_REPAIR_INTERVAL),