MCPcopy Create free account
hub / github.com/T-Troll/alienfx-tools / FindCreateProfile

Method FindCreateProfile

alienfx-gui/ConfigHandler.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43profile* ConfigHandler::FindCreateProfile(unsigned id) {
44 profile* prof = FindProfile(id);
45 if (!prof) {
46 prof = new profile{ id, "New Profile"};
47 profiles.push_back(prof);
48 }
49 return prof;
50}
51
52AlienFX_SDK::Afx_group* ConfigHandler::FindCreateGroup(int groupID) {
53 AlienFX_SDK::Afx_group* grp = nullptr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected