|
Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
LockingTree handles and manipulates the activity file locking tree. More...
Public Member Functions | |
| bool | setLock (QString, QString, QString, bool) |
| Locks or unlocks the specified locking item. More... | |
| bool | isLocked (QString, QString, QString) |
| Returns true if the specified item is locked, otherwise false. More... | |
LockingTree handles and manipulates the activity file locking tree.
| bool LockingTree::isLocked | ( | QString | , |
| QString | , | ||
| QString | |||
| ) |
Returns true if the specified item is locked, otherwise false.
| ID,the | name of the locking item. |
| branchID1,the | name from branch 1 (default is empty). |
| branchID2,the | name from branch 2 in branch 1 (default is empty). |
| bool LockingTree::setLock | ( | QString | , |
| QString | , | ||
| QString | , | ||
| bool | |||
| ) |
Locks or unlocks the specified locking item.
| ID,the | name of the locking item. |
| branchID1,the | name from branch 1 (default is empty). |
| branchID2,the | name from branch 2 in branch 1 (default is empty). |
| locked,true | to lock the item, false to unlock the item. |