From 3d27da5e0889d3676bb8da2a4af118632b42b2f4 Mon Sep 17 00:00:00 2001 From: Phitherek Date: Sat, 23 Mar 2013 19:08:07 +0100 Subject: [PATCH] small changes --- ModListDescription.h | 10 ++++++++++ OBJECTS | 6 +++--- tests/LocalModDescriptionTest.cpp | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 ModListDescription.h diff --git a/ModListDescription.h b/ModListDescription.h new file mode 100644 index 0000000..c737411 --- /dev/null +++ b/ModListDescription.h @@ -0,0 +1,10 @@ +#ifndef _MODLISTDESCRIPTION_H +#define _MODLISTDESCRIPTION_H +/// \file ModListDescription.h +/// \brief A class describing a remote modlist. +/// \author Phitherek_ +/// \date 2013 +/// \version 0.1-pre + + +#endif diff --git a/OBJECTS b/OBJECTS index 3fa1d77..e06c0db 100644 --- a/OBJECTS +++ b/OBJECTS @@ -1,11 +1,11 @@ -ModDescription: name, description, release, deps, repotype, repoaddr +ModDescription: name, description, release, deps, repotype, repoaddr x ModList: ModListDescription, vector -LocalModDescription: ModDescription + remoteModlist (inheritance) +LocalModDescription: ModDescription + remoteModlist (inheritance) x LocalModList: vector RepositoryModDescription: ModDescription + path (inheritance) RepositoryInfo: vector ModListDescription: name, server, modlistPath -ModInfoDescription: name, server, modinfoPath +ModInfoDescription: name, server, modinfoPath x ModInfo: ModInfoDescription, vector ParameterParser: actionList, argc, argv SyncAction diff --git a/tests/LocalModDescriptionTest.cpp b/tests/LocalModDescriptionTest.cpp index 96390e8..e7d36b9 100644 --- a/tests/LocalModDescriptionTest.cpp +++ b/tests/LocalModDescriptionTest.cpp @@ -6,7 +6,7 @@ using namespace std; int main() { mmm::LocalModDescription md; md.setName("test"); -md.setDescription("Test ModDescription entry"); +md.setDescription("Test LocalModDescription entry"); md.setReleaseNr(1); md.setRemoteModlistName("test"); md.setRepositoryType("archive");