Get rid of duplicate code
This commit is contained in:
		
					parent
					
						
							
								5b07d1cf12
							
						
					
				
			
			
				commit
				
					
						a1853d791f
					
				
			
		
					 1 changed files with 1 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -77,18 +77,8 @@ protected:
 | 
			
		|||
 | 
			
		||||
public:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
enum ApiType {
 | 
			
		||||
    OriginalDanbooru = 16,
 | 
			
		||||
    MoeBooru = 32,
 | 
			
		||||
    Gelbooru = 64,
 | 
			
		||||
    Unknown = 128
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
Q_DECLARE_FLAGS(ApiTypes, DanbooruServiceBase::ApiType)
 | 
			
		||||
 | 
			
		||||
    explicit DanbooruServiceBase(QUrl boardUrl = QUrl(), QObject* parent=nullptr);
 | 
			
		||||
    virtual ~DanbooruServiceBase();
 | 
			
		||||
    virtual ~DanbooruServiceBase() = default;
 | 
			
		||||
 | 
			
		||||
    /////////////////////////////////////////////
 | 
			
		||||
    // Functions shared with all implementations
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue