blob: 4ea28e261aa823a54ba1c1279c0b73e42379c4e5 [file] [log] [blame]
Lingfeng Yang6a283672018-11-01 13:37:56 -07001// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Protect from non-C++11 builds
16#ifdef GOLDFISH_VULKAN
17#pragma once
18
19#include "IOStream.h"
20
21class VkEncoder {
22public:
23 VkEncoder(IOStream*) { }
24 ~VkEncoder() { }
25};
26
27#else
28
29#ifndef VK_ENCODER_H
30#define VK_ENCODER_H
31
32class IOStream;
33
34// Placeholder version to make non-C++11 happy
35class VkEncoder {
36public:
37 VkEncoder(IOStream*) { }
38 ~VkEncoder() { }
39};
40
41#endif // VK_ENCODER_H
42
43
44#endif