~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to prnt/hpcups/HPCupsFilter.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-10-06 15:03:44 UTC
  • mfrom: (1.6.1) (20.1.16 quantal)
  • Revision ID: package-import@ubuntu.com-20121006150344-2p3xz26br0t3hu2q
Tags: 3.12.10-1
* New upstream release
  - Fixes "Network scanning fails (Closes: #683033)
* quilt refresh hplip-syslog-fix-debug-messages-to-error.dpatch
* Fix "error in clean build env" updated debian/rules (Closes: #687129)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include "Compressor.h"
37
37
#include "Job.h"
38
38
 
 
39
#include "dbuscomm.h"
 
40
 
39
41
#define         DBITMAPFILEHEADER               14
40
42
#define         DBITMAPINFOHEADER               40
41
43
 
91
93
    char            **m_argv;
92
94
    JobAttributes   m_JA;
93
95
    ppd_file_t      *m_ppd;
94
 
 
 
96
    DBusCommunicator m_DBusComm;
 
97
        
95
98
private:
96
99
 
97
100
    void            closeFilter();
102
105
    void            extractBlackPixels(cups_page_header2_t *cups_header,
103
106
                                       BYTE *kRaster, BYTE *rgbRaster);
104
107
    void            printCupsHeaderInfo(cups_page_header2_t *header);
105
 
    bool            isBlankRaster(BYTE *input_raster, int length_in_bytes);
 
108
    bool            isBlankRaster(BYTE *input_raster, cups_page_header2_t *header);
106
109
        int             m_iLogLevel;
107
110
 
108
111
    void CreateBMPHeader(int width, int height, int planes, int bpp);