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 runningCount READ runningCount NOTIFY runningCountChanged)
 
   55         int maxActiveServices() const;
 
   57         void setMaxActiveServices(
int maxActiveServices);
 
   59         int repairInterval() const;
 
   61         void setRepairInterval(
int repairInterval);
 
   63         int runningCount() const;
 
   79         void maxActiveServicesChanged();
 
   81         void repairIntervalChanged();
 
   83         void runningCountChanged();
 
  103             int maxActiveServices;
 
  112                 maxActiveServices(INITIAL_MAX_ACTIVE_SERVICES),
 
  113                 repairInterval(INITIAL_REPAIR_INTERVAL),