diff options
author | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
commit | 356efaf89afdad141b313767e1a2b89de3c08d0a (patch) | |
tree | 37edb2a0fc0ea15f4f60e45ed411cbea7b4c12c5 /FileManager.h | |
parent | 258eb984bafe0f667d1e76de61c8afaa23f39ef4 (diff) | |
download | zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.tar zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.zip |
zoomedit: Recreated ZoomEdit based on Glademm.
Diffstat (limited to 'FileManager.h')
-rw-r--r-- | FileManager.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/FileManager.h b/FileManager.h deleted file mode 100644 index 93c9ec2..0000000 --- a/FileManager.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef FILEMANAGER_H_ -#define FILEMANAGER_H_ - -#include <gtk/gtk.h> -#include <libxml/xmlwriter.h> -#include "Triangle.h" -#include "Vertex3d.h" - - -class Window; - - -class FileManager -{ - private: - Window *window; - - gchar *filename; - bool dirty; - - // prevent shallow copy - FileManager(const FileManager &f); - const FileManager& operator=(const FileManager &f); - - bool writeTriangle(xmlTextWriterPtr writer, const Triangle &triangle, float height); - bool writeSide(xmlTextWriterPtr writer, const Vertex &v1, const Vertex &v2, float height); - bool writeVertex(xmlTextWriterPtr writer, float x, float y, float z); - bool writeTexCoords(xmlTextWriterPtr writer, float s, float t); - bool writeStart(xmlTextWriterPtr writer, const Vertex3d &start); - - public: - FileManager(Window *window); - virtual ~FileManager(); - - bool save(GtkWindow *parent); - bool saveAs(GtkWindow *parent); - - bool write(); -}; - -#endif /*FILEMANAGER_H_*/ |