summaryrefslogtreecommitdiff
path: root/print/XPSDrvSmpl/src/common/cmintpthndlr.h
blob: 19e5b4bc361dd2a6ad5da0d1ad0103fd9e5e7ea8 (plain)
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
/*++

Copyright (c) 2005 Microsoft Corporation

All rights reserved.

THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

File Name:

   cmintpthndlr.h

Abstract:

   PageICMRenderingIntent PrintTicket handler definition. Derived from
   CPTHandler, this provides PageICMRenderingIntent specific Get and Set methods
   acting on the PrintTicket (as a DOM document) passed.

--*/

#pragma once

#include "pthndlr.h"
#include "cmintentsdata.h"

class CColorManageIntentsPTHandler : public CPTHandler
{
public:
    CColorManageIntentsPTHandler(
        _In_ IXMLDOMDocument2* pPrintTicket
        );

    virtual ~CColorManageIntentsPTHandler();

    HRESULT
    GetData(
        _Inout_ XDPrintSchema::PageICMRenderingIntent::PageICMRenderingIntentData* pCmData
        );
};