From 75ae7381b75d5013603aae31c7a16126cd55fa10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mikko=20Kein=C3=A4nen?= Date: Mon, 4 Oct 2010 19:27:31 +0300 Subject: [PATCH] New class: Executable for presenting emulators (and possible other external executables.) --- src/dataobjects/executable.cpp | 24 ++++++++++++++++++++++++ src/dataobjects/executable.h | 31 +++++++++++++++++++++++++++++++ src/emufront.pro | 6 ++++-- 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 src/dataobjects/executable.cpp create mode 100644 src/dataobjects/executable.h diff --git a/src/dataobjects/executable.cpp b/src/dataobjects/executable.cpp new file mode 100644 index 0000000..ce157c7 --- /dev/null +++ b/src/dataobjects/executable.cpp @@ -0,0 +1,24 @@ +// EmuFront +// Copyright 2010 Mikko Keinänen +// +// This file is part of EmuFront. +// +// +// EmuFront is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// EmuFront is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with EmuFront. If not, see . + +#include "executable.h" + +Executable::Executable() +{ +} diff --git a/src/dataobjects/executable.h b/src/dataobjects/executable.h new file mode 100644 index 0000000..ef2a764 --- /dev/null +++ b/src/dataobjects/executable.h @@ -0,0 +1,31 @@ +// EmuFront +// Copyright 2010 Mikko Keinänen +// +// This file is part of EmuFront. +// +// +// EmuFront is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// EmuFront is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with EmuFront. If not, see . + +#ifndef EXECUTABLE_H +#define EXECUTABLE_H + +#include "emufrontfileobject.h" + +class Executable : public EmuFrontFileObject +{ +public: + Executable(); +}; + +#endif // EXECUTABLE_H diff --git a/src/emufront.pro b/src/emufront.pro index 59fb03a..71a07ab 100644 --- a/src/emufront.pro +++ b/src/emufront.pro @@ -56,7 +56,8 @@ HEADERS += mainwindow.h \ emulauncher.h \ widgets/efcombobox.h \ widgets/effileobjectcombobox.h \ - widgets/setupcombobox.h + widgets/setupcombobox.h \ + dataobjects/executable.h SOURCES += main.cpp \ mainwindow.cpp \ db/databasemanager.cpp \ @@ -100,5 +101,6 @@ SOURCES += main.cpp \ emulauncher.cpp \ widgets/efcombobox.cpp \ widgets/effileobjectcombobox.cpp \ - widgets/setupcombobox.cpp + widgets/setupcombobox.cpp \ + dataobjects/executable.cpp OTHER_FILES += -- 1.7.9.5