Skip to content
Snippets Groups Projects
Commit ba46911d authored by Axel Naumann's avatar Axel Naumann
Browse files

Prevent parsing for plugin - start with TPgSQL for now.

parent 9917928d
No related branches found
No related tags found
No related merge requests found
class TSQLServer;
TSQLServer* ROOT_Plugin_TPgSQLServer(const char*,const char*,const char*);
void P020_TPgSQLServer()
{
gPluginMgr->AddHandler("TSQLServer", "^pgsql:", "TPgSQLServer",
"PgSQL", "TPgSQLServer(const char*,const char*,const char*)");
"PgSQL", "::ROOT_Plugin_TPgSQLServer(const char*,const char*,const char*)");
}
......@@ -2,7 +2,7 @@
// Author: g.p.ciceri <gp.ciceri@acm.org> 01/06/2001
/*************************************************************************
* Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. *
* Copyright (C) 1995-2016, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
......@@ -19,6 +19,14 @@
#include "TUrl.h"
#include "TList.h"
////////////////////////////////////////////////////////////////////////////////
/// PluginManager generator function
TSQLServer* ROOT_Plugin_TPgSQLServer(const char* db, const char* uid, const char* pw) {
return new TPgSQLServer(db, uid, pw);
}
ClassImp(TPgSQLServer)
////////////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment