Restored the copyright notice before r24684, as pointed out by Marcus Overhagen on the Haiku-commits mailing list, r24684 is a copyright violation.
Also reverted some meaningful comments. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24807 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
/*
|
/*******************************************************************************
|
||||||
* Copyright 2008, Haiku Inc.
|
/
|
||||||
* Distributed under the terms of the MIT License.
|
/ File: PrintJob.h
|
||||||
*/
|
/
|
||||||
|
/ Description: BPrintJob runs a printing session.
|
||||||
|
/
|
||||||
|
/ Copyright 1996-98, Be Incorporated, All Rights Reserved
|
||||||
|
/
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
#ifndef _PRINTSESSION_H
|
#ifndef _PRINTSESSION_H
|
||||||
#define _PRINTSESSION_H
|
#define _PRINTSESSION_H
|
||||||
|
|
||||||
@@ -14,6 +20,8 @@
|
|||||||
class BFile;
|
class BFile;
|
||||||
class BView;
|
class BView;
|
||||||
|
|
||||||
|
/*----------------------------------------------------------------*/
|
||||||
|
/*----- BPrintJob related structures -----------------------------*/
|
||||||
|
|
||||||
struct print_file_header {
|
struct print_file_header {
|
||||||
int32 version;
|
int32 version;
|
||||||
@@ -27,10 +35,12 @@ struct print_file_header {
|
|||||||
|
|
||||||
struct _page_header_;
|
struct _page_header_;
|
||||||
|
|
||||||
|
/*----------------------------------------------------------------*/
|
||||||
|
/*----- BPrintJob class ------------------------------------------*/
|
||||||
|
|
||||||
class BPrintJob {
|
class BPrintJob {
|
||||||
public:
|
public:
|
||||||
|
// These values are returned by PrinterType()
|
||||||
enum {
|
enum {
|
||||||
B_BW_PRINTER = 0,
|
B_BW_PRINTER = 0,
|
||||||
B_COLOR_PRINTER
|
B_COLOR_PRINTER
|
||||||
|
|||||||
Reference in New Issue
Block a user