| 362 | } |
| 363 | |
| 364 | const char* UndoManager::getUndoName(S32 index) |
| 365 | { |
| 366 | if ((index < getUndoCount()) && (index >= 0)) |
| 367 | return mUndoStack[index]->mActionName; |
| 368 | |
| 369 | return NULL; |
| 370 | } |
| 371 | |
| 372 | DefineEngineMethod(UndoManager, getUndoAction, S32, (S32 index), , "(index)") |
| 373 | { |