28 TVirtualProofPlayer *TVirtualProofPlayer::Create(
const char *player,
29 TProof *pr, TSocket *s)
32 TVirtualProofPlayer *p = 0;
34 if (!player || !*player) {
35 ::Error(
"TVirtualProofPlayer::Create",
"player name missing");
39 if ((h = gROOT->GetPluginManager()->FindHandler(
"TVirtualProofPlayer", player))) {
40 if (h->LoadPlugin() == -1)
42 if (!strcmp(player,
"slave"))
43 p = (TVirtualProofPlayer *) h->ExecPlugin(1, s);
45 p = (TVirtualProofPlayer *) h->ExecPlugin(1, pr);