aboutsummaryrefslogtreecommitdiffstats
path: root/include/io/serializer.h
blob: 901d913f6380786e7e90dadc2073cc7bd7ac321d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SERIALIZER_H
#define SERIALIZER_H

#include "diagram/structogram.h"

#include <QFileInfo>

class Serializer
{
public:
    explicit Serializer();
    virtual ~Serializer();

    bool write(const samb::Structogram &structogram, QFileInfo into);
    bool load(samb::Structogram &structogram, QFileInfo from);
};

#endif // SERIALIZER_H