4179 |
this->pGroup = pGroup; |
this->pGroup = pGroup; |
4180 |
} |
} |
4181 |
|
|
4182 |
|
/** |
4183 |
|
* Returns the script group this script currently belongs to. Each script |
4184 |
|
* is a member of exactly one ScriptGroup. |
4185 |
|
* |
4186 |
|
* @returns current script group |
4187 |
|
*/ |
4188 |
|
ScriptGroup* Script::GetGroup() const { |
4189 |
|
return pGroup; |
4190 |
|
} |
4191 |
|
|
4192 |
void Script::RemoveAllScriptReferences() { |
void Script::RemoveAllScriptReferences() { |
4193 |
File* pFile = pGroup->pFile; |
File* pFile = pGroup->pFile; |
4194 |
for (int i = 0; pFile->GetInstrument(i); ++i) { |
for (int i = 0; pFile->GetInstrument(i); ++i) { |