forked from sjg20/paperman
/
quiteinsanenamespace.h
66 lines (60 loc) · 1.64 KB
/
quiteinsanenamespace.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/***************************************************************************
quiteinsanenamespace.h - description
-------------------
begin : Fri Sep 8 2000
copyright : (C) 2000 by M. Herder
email : crapsite@gmx.net
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License version 2 as *
* published by the Free Software Foundation. *
* *
***************************************************************************/
#ifndef QUITEINSANENAMESPACE_H
#define QUITEINSANENAMESPACE_H
/**
*@author M. Herder
*/
class QIN
{
public:
enum ScanMode
{
Temporary = 0,
SingleFile = 1,
OCR = 2,
CopyPrint = 3,
MultiScan = 4,
Direct = 5
};
enum MetricSystem
{
Millimetre = 0,
Centimetre = 1,
Inch = 2,
NoMetricSystem = 3
};
enum Orientation
{
Vertical = 0,
Horizontal = 1
};
enum Layout
{
ScrollLayout = 0,
TabLayout = 1,
MultiWindowLayout = 2,
ListLayout = 3
};
enum Status
{
OpenFailed = 0,
ReadyToShow = 1,
NoScanner = 2,
UserCancel = 3,
InitFailed = 4
};
};
#endif