Beispiel #1
0
void ChangesNotifier::OnBehaviorRenamed(gd::Project& project,
                                        gd::Layout* layout,
                                        gd::Object& object,
                                        gd::Behavior& behavior,
                                        const gd::String& oldName) const {
  RequestFullRecompilation(project, layout);
}
Beispiel #2
0
void ChangesNotifier::OnLayoutDeleted(gd::Project& project,
                                      const gd::String deletedLayout) const {
  // There is a possibility that the deleting the layout now enables some
  // external events to be compiled separately from the scene using them ( For
  // instance, scenes A and B are including the external events, and scene B is
  // deleted ). So we request the recompilation of all scenes.
  RequestFullRecompilation(project, NULL);
}
Beispiel #3
0
void ChangesNotifier::OnBehaviorAdded(gd::Project& project,
                                      gd::Layout* layout,
                                      gd::Object& object,
                                      gd::Behavior& behavior) const {
  RequestFullRecompilation(project, layout);
}
Beispiel #4
0
void ChangesNotifier::OnObjectsDeleted(
    gd::Project& project,
    gd::Layout* layout,
    const std::vector<gd::String>& deletedObjects) const {
  RequestFullRecompilation(project, layout);
}
Beispiel #5
0
void ChangesNotifier::OnObjectGroupDeleted(gd::Project& project,
                                           gd::Layout* layout,
                                           const gd::String& groupName) const {
  RequestFullRecompilation(project, layout);
}
Beispiel #6
0
void ChangesNotifier::OnVariablesModified(gd::Project& project,
                                          gd::Layout* layout) const {
  RequestFullRecompilation(project, layout);
}
Beispiel #7
0
void ChangesNotifier::OnExternalEventsDeleted(
    gd::Project& project, const gd::String deletedLayout) const {
  RequestFullRecompilation(project, NULL);
}
Beispiel #8
0
void ChangesNotifier::OnAutomatismDeleted(gd::Project & project, gd::Layout * layout, gd::Object & object, const std::string & automatismName) const
{
    RequestFullRecompilation(project, layout);
}
Beispiel #9
0
void ChangesNotifier::OnAutomatismAdded(gd::Project & project, gd::Layout * layout, gd::Object & object, gd::Automatism & automatism) const
{
    RequestFullRecompilation(project, layout);
}
Beispiel #10
0
void ChangesNotifier::OnObjectGroupRenamed(gd::Project & project, gd::Layout * layout, const std::string & groupName, const std::string & oldName) const
{
    RequestFullRecompilation(project, layout);
}