aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/sqlitestudiocli/cliutils.h
blob: 2130a65e359e43c96827b34b67a4bba9faa4d2f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef CLIUTILS_H
#define CLIUTILS_H

#include <QString>
#include <QVariant>

void initCliUtils();

int getCliColumns();
int getCliRows();

struct AsciiTree
{
    QList<AsciiTree> childs;
    QString label;
};

Q_DECLARE_METATYPE(AsciiTree)

QString toAsciiTree(const AsciiTree& tree);

#endif // CLIUTILS_H