MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / AddChild

Method AddChild

App/Client/Favorite/FavoriteModel.cpp:562–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562bool CFavoriteModel::tree::AddChild(tree *child)
563{
564 if (!child) return false;
565 child->parent = this;
566 return InsertChild(GetInserIndex(child), child);
567}
568
569bool CFavoriteModel::tree::InsertChild(int index, tree *child)
570{

Callers 1

foreachFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected