void ConfigListener::ConfigService_EventChangedConfigItem(const std::string& section, const std::string& key) { if (section == mSection && key == mKey) { varconf::Variable variable = EmberServices::getSingleton().getConfigService().getValue(section, key); mSlot(section, key, variable); } }
bool ConfigListener::evaluate() { if (EmberServices::getSingleton().getConfigService().itemExists(mSection, mKey)) { varconf::Variable variable = EmberServices::getSingleton().getConfigService().getValue(mSection, mKey); mSlot(mSection, mKey, variable); return true; } return false; }
void mSfdpSlot(GtkWidget * widget, gpointer user_data) { mSlot(widget, user_data, GVK_SFDP, 0); }
void mCircoSlot(GtkWidget * widget, gpointer user_data) { mSlot(widget, user_data, GVK_CIRCO, 0); }
void mTwopiSlot(GtkWidget * widget, gpointer user_data) { mSlot(widget, user_data, GVK_TWOPI, 0); }
void mNeatoSlot(GtkWidget * widget, gpointer user_data) { mSlot(widget, user_data, GVK_NEATO, 0); }
void mDotSlot(GtkWidget * widget, gpointer user_data) { mSlot(widget, user_data, GVK_DOT, 1); }