//------------------------------------------------------------------------------
// Lamp : Open source game middleware
// Copyright (C) 2004  Junpei Ohtani ( Email : junpee@users.sourceforge.jp )
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//------------------------------------------------------------------------------

/** @file
 * Lamp for Maya Test ヘッダ
 * @author Junpee
 */

#ifndef LAMP_FOR_MAYA_TEST_H_
#define LAMP_FOR_MAYA_TEST_H_

namespace LampForMaya{

//------------------------------------------------------------------------------
/**
 * Lamp for Maya Test
 */
class LampForMayaTest : public MPxCommand{
public:
	/**
	 * コンストラクタ
	 */
	LampForMayaTest(){}

	/**
	 * デストラクタ
	 */
	virtual ~LampForMayaTest(){}

	/**
	 * 生成
	 *
	 * unloadPluginを行わないとメモリリークとして検出されます。
	 * @return プラグインインスタンス
	 */
	static void* creator(){ return new LampForMayaTest(); }

	/**
	 * 実行
	 * @param args 引数リスト
	 * @return 成功すればMStatus::kSuccess
	 */
	virtual MStatus doIt(const MArgList& args);

	/**
	 * Undo可能かどうか
	 * @return Undo可能ならtrue
	 */
	virtual bool isUndoable() const{
		// シーンの内容を変更してはならない
		return false;
	}

private:
	// コピーコンストラクタの隠蔽
	LampForMayaTest(const LampForMayaTest& copy);

	// 代入コピーの隠蔽
	void operator =(const LampForMayaTest& copy);

};

//------------------------------------------------------------------------------
} // End of namespace LampForMaya
#endif // End of LAMP_FOR_MAYA_TEST_H_
//------------------------------------------------------------------------------
