view eddemoobj.h @ 377:a41d0db5fa36

Improve building.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 Oct 2012 02:37:03 +0300
parents 40e33ad0d153
children feaeec4c6c55
line wrap: on
line source

//
// Demo Editor -- Demo state object
// (C) Copyright 2012 Matti 'ccr' Hämäläinen <ccr@tnsp.org>
//
#ifndef DEMOOBJECT_H
#define DEMOOBJECT_H

#include "dmengine.h"
#include <QFile>

class DemoObject
{
public:
    // Last file I/O status
    QFile::FileError lastError;
    QString state;
    int changed;
    DMEngineData data;
    QString filename;

    DemoObject();
    DemoObject(DemoObject *);
    ~DemoObject();

    int load(QString filename);
    int save(QString filename);
};


#endif