File: Install.cpp

package info (click to toggle)
libsfml 3.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 13,704 kB
  • sloc: cpp: 52,754; ansic: 24,944; objc: 668; sh: 172; xml: 25; makefile: 18
file content (35 lines) | stat: -rw-r--r-- 1,114 bytes parent folder | download
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
#include <SFML/Graphics.hpp>

#include <SFML/Audio.hpp>

#include <SFML/Network.hpp>

// Instantiate some types from each module to test for linker issues. This program is not meant be ran.
int main()
{
    // Audio
    [[maybe_unused]] const sf::SoundBufferRecorder soundBufferRecorder;

    // Graphics
    [[maybe_unused]] const sf::Color          color;
    [[maybe_unused]] const sf::IntRect        rect;
    [[maybe_unused]] const sf::RenderWindow   renderWindow;
    [[maybe_unused]] const sf::RectangleShape rectangleShape;
    [[maybe_unused]] const sf::Vertex         vertex;

    // Network
    [[maybe_unused]] const sf::Ftp       ftp;
    [[maybe_unused]] const sf::Http      http;
    [[maybe_unused]] const sf::Packet    packet;
    [[maybe_unused]] const sf::UdpSocket udpSocket;

    // System
    [[maybe_unused]] const sf::Angle  angle;
    [[maybe_unused]] const sf::String string;
    [[maybe_unused]] const sf::Time   time;

    // Window
    [[maybe_unused]] const sf::Context   context;
    [[maybe_unused]] const sf::VideoMode videoMode;
    [[maybe_unused]] const sf::Window    window;
}