summaryrefslogtreecommitdiff
path: root/core/fxge/apple/cfx_quartzdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/apple/cfx_quartzdevice.h')
-rw-r--r--core/fxge/apple/cfx_quartzdevice.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/core/fxge/apple/cfx_quartzdevice.h b/core/fxge/apple/cfx_quartzdevice.h
deleted file mode 100644
index 310cef8463..0000000000
--- a/core/fxge/apple/cfx_quartzdevice.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_
-#define CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_
-
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
-
-#include "core/fxge/cfx_renderdevice.h"
-
-class CFX_QuartzDevice : public CFX_RenderDevice {
- public:
- CFX_QuartzDevice();
- ~CFX_QuartzDevice() override;
-
- bool Attach(CGContextRef context, int32_t nDeviceClass = FXDC_DISPLAY);
- bool Attach(CFX_DIBitmap* pBitmap);
- bool Create(int32_t width, int32_t height, FXDIB_Format format);
-
- CGContextRef GetContext();
-
- protected:
- CGContextRef m_pContext;
- bool m_bOwnedBitmap;
-};
-#endif
-
-#endif // CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_