summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null/VideoBackend.h
blob: 2f5f0dc05704c183a6bef0b918c2df774494b99d (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
// Copyright 2015 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include "Common/Common.h"
#include "VideoCommon/VideoBackendBase.h"

namespace Null
{
class VideoBackend : public VideoBackendBase
{
  bool Initialize(void* window_handle) override;
  void Shutdown() override;

  std::string GetName() const override { return "Null"; }
  std::string GetDisplayName() const override
  {
    // i18n: Null is referring to the null video backend, which renders nothing
    return _trans("Null");
  }
  void InitBackendInfo() override;
};
}