forked from qt-creator/qt-creator
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			538 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			538 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include "donothingplugin.h"
 | |
| 
 | |
| #include <QtPlugin>
 | |
| #include <QStringList>
 | |
| 
 | |
| 
 | |
| DoNothingPlugin::DoNothingPlugin()
 | |
| {
 | |
|     // Do nothing
 | |
| }
 | |
| 
 | |
| DoNothingPlugin::~DoNothingPlugin()
 | |
| {
 | |
|     // Do notning
 | |
| }
 | |
| 
 | |
| void DoNothingPlugin::extensionsInitialized()
 | |
| {
 | |
|     // Do nothing
 | |
| }
 | |
| 
 | |
| bool DoNothingPlugin::initialize(const QStringList& args, QString *errMsg)
 | |
| {
 | |
|     Q_UNUSED(args);
 | |
|     Q_UNUSED(errMsg);
 | |
| 
 | |
|     return true;
 | |
| }
 | |
| 
 | |
| ExtensionSystem::IPlugin::ShutdownFlag DoNothingPlugin::shutdown()
 | |
| {
 | |
|     return SynchronousShutdown;
 | |
| }
 | |
| 
 | |
| Q_EXPORT_PLUGIN(DoNothingPlugin)
 |