| 1 | < | #pragma once | 
 
 
 
 
 
 
 
 
 | 1 | > | #pragma once | 
 
 
 
 
 
 
 
 
 
 
 | 2 |  | /* AE/Mod Installer header file */ | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 3 |  | #ifndef DOUBLE_HEADER | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 4 |  | #define DOUBLE_HEADER | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 25 |  | bool    hasOnis; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 26 |  | bool    hasDeltas; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 27 |  | bool    hasBSL; | 
 
 
 
 
 
 
 
 | 28 | + | bool    hasAddon; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 29 |  | bool    hasDats; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 30 |  | string  category; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 31 |  | string  creator; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 33 |  | string  readme; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 34 |  | bool    globalNeeded; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 35 |  | ModPackage(); | 
 
 
 
 
 
 
 
 | 36 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 37 |  | void doOutput() | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 38 |  | { | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 39 |  | cout << "Mod: " << name; cout << "\n"; // remove this when done | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 71 |  | hasOnis = false; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 72 |  | hasDeltas = false; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 73 |  | hasBSL = false; | 
 
 
 
 
 
 
 
 | 74 | + | hasAddon = false; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 75 |  | hasDats = false; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 76 |  | category = ""; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 77 |  | creator = ""; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 100 |  | void setStatusArea( string ); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 101 |  | void setProgressBar( int ); | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 102 |  |  | 
 
 
 
 
 
 
 
 | 103 | + | void copyBSL( string, vector<string>, ModPackage ); | 
 
 
 
 
 
 
 
 | 104 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 105 |  | //New copy(path, path) function. Too lazy to implement my own, this is basically how I would have done it though. | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 106 |  | //No, really. :) | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 107 |  | //Move to utilities.cpp when the time comes. |