/**
 * Project: mysql NetLogo extension
 * Author:  Yuelei LI
 * Date:	18 December 2010
 * Tianjin University, China
 * 
 * Copyright (C) 2010 Yuelei LI. All rights reserved.
 * Email: yuelei.li@gmail.com  liyuelei@tju.edu.cn
 * This file is part of mysql NetLogo extension.
 * 
 * myslq NetLogo extension is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * mysql NetLogo extension is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with mysql NetLogo extension.  If not, see <http://www.gnu.org/licenses/>.
  * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 */ 


import org.nlogo.api.DefaultClassManager;
import org.nlogo.api.PrimitiveManager;

public class MysqlExtension extends DefaultClassManager {
	public void load(PrimitiveManager paramPrimitiveManager) {
		paramPrimitiveManager.addPrimitive("executeQuery", new ExecuteQuery());
		paramPrimitiveManager.addPrimitive("executeUpdate", new ExecuteUpdate());
	}
}
