Program Listing for File go.cpp
↰ Return to documentation for file (include/MainObjects/editorObject/go.cpp
)
#include "editorObject.hpp"
template<>
PDJE_API
bool
editorObject::Go<EDIT_ARG_MIX>(const DONT_SANITIZE& branchName, git_oid* commitID)
{
return E_obj->mixHandle.first->Go(branchName, commitID);
}
template<>
PDJE_API
bool
editorObject::Go<EDIT_ARG_NOTE>(const DONT_SANITIZE& branchName, git_oid* commitID)
{
return E_obj->noteHandle.first->Go(branchName, commitID);
}
template<>
PDJE_API
bool
editorObject::Go<EDIT_ARG_KEY_VALUE>(const DONT_SANITIZE& branchName, git_oid* commitID)
{
return E_obj->KVHandler.first->Go(branchName, commitID);
}
template<>
PDJE_API
bool
editorObject::Go<EDIT_ARG_MUSIC>(const DONT_SANITIZE& branchName, git_oid* commitID)
{
for(auto& i : E_obj->musicHandle){
if(i.gith->Go(branchName, commitID)) return true;
}
warnlog("cannot find music. from editorObject Go(Music obj)");
return false;
}