20 lines
		
	
	
		
			275 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			275 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <QDateTime>
 | |
| #include <QString>
 | |
| #include <QFileInfo>
 | |
| #include <memory>
 | |
| 
 | |
| struct ScreenShot
 | |
| {
 | |
| 	ScreenShot(QFileInfo file)
 | |
| 	{
 | |
| 		m_file = file;
 | |
| 	}
 | |
| 	QFileInfo m_file;
 | |
| 	QString m_url;
 | |
| 	QString m_imgurId;
 | |
| };
 | |
| 
 | |
| typedef std::shared_ptr<ScreenShot> ScreenshotPtr;
 |