Debian Codegraph @

HercPrinter/PrinterInterface.h

raw symbols SCIP
1 /*
2 * File: PrinterInterface.h
3 *
4 * Author: Jacob Dekel
5 * Created on: May 10, 2014
6 *
7 * Copyright (c) 2009-2014 Jacob Dekel
8 * $Id$
9 *
10 * Printer Interface classes
11 *
12 * This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 *
25 */
26
27 #ifndef PRINTERINTERFACE_H
28 #define PRINTERINTERFACE_Hcxx . . $ `HercPrinter/PrinterInterface.h:28:9`!
29
30 #include "HerculesStudio.h"cxx . . $ `<file>/HercStudio/HerculesStudio.h`/
31 #include "Stationery.h"cxx . . $ `<file>/HercPrinter/Stationery.h`/
32 #include "DecolationRules.h"cxx . . $ `<file>/HercPrinter/DecolationRules.h`/
33
34 #include <QHostAddress>
35 #include <QPainter>
36
37 mk_shared_ptrcxx . . $ QSharedPointer#(Stationery)
38 mk_shared_ptrcxx . . $ DecolationRulesPtr#(DecolationRules)
39 class BasicPrintercxx . . $ BasicPrinter# : public QObjectcxx . . $ QObject#
40 {
41 Q_OBJECTcxx . . $ BasicPrinter#QPrivateSignal#
42 public:
43 BasicPrintercxx . . $ BasicPrinter#BasicPrinter(49f6e7a06ebc5aa8).();
44 virtual bool printcxx . . $ BasicPrinter#print(a3c6993e7f86f3c4).(QByteArraycxx . . $ QByteArray# data) = 0;
45 virtual void closecxx . . $ BasicPrinter#close(49f6e7a06ebc5aa8).() = 0;
46
47 protected:
48 QStringcxx . . $ QString# mNamecxx . . $ BasicPrinter#mName.;
49 int mLinesPerInchcxx . . $ BasicPrinter#mLinesPerInch.;
50 int mFontSizecxx . . $ BasicPrinter#mFontSize.;
51 QStringcxx . . $ QString# mSpoolDircxx . . $ BasicPrinter#mSpoolDir.;
52 };
53
54 class GenericPagePrintercxx . . $ GenericPagePrinter# : public BasicPrintercxx . . $ BasicPrinter#
55 {
56 public:
57 GenericPagePrintercxx . . $ GenericPagePrinter#GenericPagePrinter(1dd650c547b18fb1).(StationeryPtrcxx . . $ StationeryPtr#& stationery, float scaling);
58 virtual bool printcxx . . $ GenericPagePrinter#print(a3c6993e7f86f3c4).(QByteArraycxx . . $ QByteArray# line) = 0;
59 virtual void preparePagecxx . . $ GenericPagePrinter#preparePage(b45ddcbc8423892c).(bool eject);
60 protected:
61 virtual void setValuescxx . . $ GenericPagePrinter#setValues(b45ddcbc8423892c).(bool eject) = 0;
62 virtual void setBarsColorcxx . . $ GenericPagePrinter#setBarsColor(49f6e7a06ebc5aa8).() = 0;
63
64
65 QMultiMapcxx . . $ QMultiMap#<int, Triggercxx . . $ Trigger#> mEndJobTriggercxx . . $ GenericPagePrinter#mEndJobTrigger.;
66 StationeryPtrcxx . . $ StationeryPtr# mStationerycxx . . $ GenericPagePrinter#mStationery.;
67 DecolationRulesPtrcxx . . $ DecolationRulesPtr# mDecolationcxx . . $ GenericPagePrinter#mDecolation.;
68 int mPixelsPerLinecxx . . $ GenericPagePrinter#mPixelsPerLine.;
69 int mPaperRcxx . . $ GenericPagePrinter#mPaperR.;
70 int mPaperGcxx . . $ GenericPagePrinter#mPaperG.;
71 int mPaperBcxx . . $ GenericPagePrinter#mPaperB.;
72 int mLinesPerPagecxx . . $ GenericPagePrinter#mLinesPerPage.;
73 int mMargincxx . . $ GenericPagePrinter#mMargin.;
74 int mLeftMargincxx . . $ GenericPagePrinter#mLeftMargin.;
75 int mBottomMargincxx . . $ GenericPagePrinter#mBottomMargin.;
76 float mPaperHeightcxx . . $ GenericPagePrinter#mPaperHeight.;
77 float mPaperWidthcxx . . $ GenericPagePrinter#mPaperWidth.;
78 int mWidthInPixelscxx . . $ GenericPagePrinter#mWidthInPixels.;
79 int mHeightInPixelscxx . . $ GenericPagePrinter#mHeightInPixels.;
80 int mLogicalDpiXcxx . . $ GenericPagePrinter#mLogicalDpiX.;
81 int mLogicalDpiYcxx . . $ GenericPagePrinter#mLogicalDpiY.;
82 int mBarsColorcxx . . $ GenericPagePrinter#mBarsColor.[3];
83 QPaintercxx . . $ QPainter# * mPencxx . . $ GenericPagePrinter#mPen.;
84 QPixmapcxx . . $ QPixmap# mLogocxx . . $ GenericPagePrinter#mLogo.;
85 int mLogoWidthcxx . . $ GenericPagePrinter#mLogoWidth.;
86 int mLogoHeightcxx . . $ GenericPagePrinter#mLogoHeight.;
87 float mScalingcxx . . $ GenericPagePrinter#mScaling.;
88 };
89
90 #endif // PRINTERINTERFACE_H