mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove obsolete FileRevision class
This commit is contained in:
@@ -221,7 +221,6 @@ set(LIBLOOT_INCLUDE_H_FILES
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/metadata/plugin_metadata.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/metadata/tag.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/plugin_interface.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/struct/file_revision.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/struct/simple_message.h"
|
||||
"${CMAKE_SOURCE_DIR}/include/loot/vertex.h")
|
||||
|
||||
|
||||
@@ -18,9 +18,6 @@ Enumerations
|
||||
Public-Field Data Structures
|
||||
============================
|
||||
|
||||
.. doxygenstruct:: loot::FileRevision
|
||||
:members:
|
||||
|
||||
.. doxygenstruct:: loot::SimpleMessage
|
||||
:members:
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include "loot/metadata/group.h"
|
||||
#include "loot/metadata/message.h"
|
||||
#include "loot/metadata/plugin_metadata.h"
|
||||
#include "loot/struct/file_revision.h"
|
||||
#include "loot/struct/simple_message.h"
|
||||
|
||||
namespace loot {
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
/* LOOT
|
||||
|
||||
A load order optimisation tool for Oblivion, Skyrim, Fallout 3 and
|
||||
Fallout: New Vegas.
|
||||
|
||||
Copyright (C) 2012-2016 WrinklyNinja
|
||||
|
||||
This file is part of LOOT.
|
||||
|
||||
LOOT 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.
|
||||
|
||||
LOOT 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 LOOT. If not, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef LOOT_FILE_REVISION
|
||||
#define LOOT_FILE_REVISION
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace loot {
|
||||
/**
|
||||
* @brief A structure that holds data about a file's source control revision.
|
||||
*/
|
||||
struct FileRevision {
|
||||
inline explicit FileRevision() : is_modified(false) {}
|
||||
|
||||
/**
|
||||
* @brief The revision hash for the file.
|
||||
*/
|
||||
std::string id;
|
||||
|
||||
/**
|
||||
* @brief A string containing the ISO 8601 formatted revision date, ie.
|
||||
* YYYY-MM-DD.
|
||||
*/
|
||||
std::string date;
|
||||
|
||||
/**
|
||||
* @brief `true` if the file has been edited since the revision identified by
|
||||
* `id`, or `false` if it is at exactly the revision given.
|
||||
*/
|
||||
bool is_modified;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user