Introduce struct for export settings in COLLADA export code. This will make it easier to

add new options without having to change function signatures all over the place.
This commit is contained in:
Nathan Letwory
2011-09-07 18:23:30 +00:00
parent a1277508cc
commit 3dc0ee19c4
22 changed files with 179 additions and 94 deletions

View File

@@ -29,13 +29,18 @@
#ifndef __DOCUMENTEXPORTER_H__
#define __DOCUMENTEXPORTER_H__
#include "ExportSettings.h"
struct Scene;
class DocumentExporter
{
public:
void exportCurrentScene(Scene *sce, const char* filename, bool selected);
DocumentExporter(const ExportSettings *export_settings);
void exportCurrentScene(Scene *sce);
void exportScenes(const char* filename);
private:
const ExportSettings *export_settings;
};
#endif