Imported needed functionality from (soon) deprecated database
[emufront] / src / models / platformmodel.cpp
index 01a30f0..bc652a6 100644 (file)
@@ -18,6 +18,7 @@
 ** You should have received a copy of the GNU General Public License
 ** along with EmuFront.  If not, see <http://www.gnu.org/licenses/>.
 */
+#include "platform.h"
 #include "platformmodel.h"
 
 PlatformModel::PlatformModel(QObject *parent) :
@@ -26,3 +27,7 @@ PlatformModel::PlatformModel(QObject *parent) :
     tableName = "platform";
     refresh();
 }
+
+EmuFrontObject* PlatformModel::createEmuFrontFileObject(int id, QString name, EmuFrontFile *f)
+{   return new Platform(id, name, f); }
+