mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-25 04:15:49 -04:00
788d557f0e
Don't show in changelog
39 lines
835 B
C++
39 lines
835 B
C++
/*
|
|
* GDevelop Core
|
|
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
|
|
* reserved. This project is released under the MIT License.
|
|
*/
|
|
#ifndef GDCORE_PROJECTSTRIPPER_H
|
|
#define GDCORE_PROJECTSTRIPPER_H
|
|
namespace gd {
|
|
class Project;
|
|
}
|
|
namespace gd {
|
|
class String;
|
|
}
|
|
|
|
namespace gd {
|
|
|
|
/**
|
|
* \brief Tool class providing methods to strip useless data for a project
|
|
* after it has been exported.
|
|
*/
|
|
class GD_CORE_API ProjectStripper {
|
|
public:
|
|
/**
|
|
* \brief Create a stripped version of the project for export:
|
|
* Objects groups are deleted as well as all events.
|
|
*
|
|
* \param project The project to be stripped.
|
|
*/
|
|
static void StripProjectForExport(gd::Project& project);
|
|
|
|
private:
|
|
ProjectStripper(){};
|
|
virtual ~ProjectStripper(){};
|
|
};
|
|
|
|
} // namespace gd
|
|
|
|
#endif // GDCORE_PROJECTSTRIPPER_H
|