summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorPtyl Dragon <ptyl@cloudon.com>2014-10-21 08:48:02 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:57:50 +0100
commit0977b40a5cef4e67cb46e6f2c42625a5d079b638 (patch)
treea4c08f9ecabf4a5a336487398b9e5c9bcf859357 /vcl/source/gdi
parent3d16e8593ac1e9d90f0a033732766907476822f9 (diff)
add Impl version for SalGraphics
Using an Impl pattern here allows us to switch the rendering in each plugin without introducing any additional plugins. The SalGraphics subclass will just forward the rendering call to the Impl which can either be the normal native one or the OpenGL one. Change-Id: Id234c60335305bfb42bf3d2b912f02d1f542bd06
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/salgdiimpl.cxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcl/source/gdi/salgdiimpl.cxx b/vcl/source/gdi/salgdiimpl.cxx
new file mode 100644
index 000000000000..96ba3828996b
--- /dev/null
+++ b/vcl/source/gdi/salgdiimpl.cxx
@@ -0,0 +1,26 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#include "salgdiimpl.hxx"
+
+SalGraphicsImpl::~SalGraphicsImpl()
+{
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */