text: //
  // Copyright (C)  
  // 
  // File: pluginMain.cpp
  //
  // Author: Maya Plug-in Wizard 2.0
  //
  #include <maya/MFnPlugin.h>
  #include <maya/MGlobal.h>
  #include "dagInfo.h"
  
  MStatus initializePlugin( MObject obj )
  //
  //	Description:
  //		this method is called when the plug-in is loaded into Maya.  It 
  //		registers all of the services that this plug-in provides with 
  //		Maya.
  //
  //	Arguments:
  //		obj - a handle to the plug-in object (use MFnPlugin to access it)
  //
  { 
  	MStatus   status;
  	MFnPlugin plugin( obj, "", "2012", "Any");
  
  	// Add plug-in feature registration here
  	//
  
  	status = plugin.registerCommand("dagInfo",dagInfo::creator);
  
  	return status;
  }
  
  MStatus uninitializePlugin( MObject obj )
  //
  //	Description:
  //		this method is called when the plug-in is unloaded from Maya. It 
  //		deregisters all of the services that it was providing.
  //
  //	Arguments:
  //		obj - a handle to the plug-in object (use MFnPlugin to access it)
  //
  {
  	MStatus   status;
  	MFnPlugin plugin( obj );
  
  	// Add plug-in feature deregistration here
  	//
  	status = plugin.deregisterCommand("dagInfo");
  
  	return status;
  }
  