1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 // an X11 screen index - this unpleasant construct is to allow
13 // us to cleanly separate the 'DisplayScreen' concept - as used
14 // in the public facing API, from X's idea of screen indices.
15 // Both of these are plain unsigned integers called 'screen'
17 unsigned int mnXScreen
;
19 explicit SalX11Screen(unsigned int nXScreen
) : mnXScreen( nXScreen
) {}
20 unsigned int getXScreen() const { return mnXScreen
; }
21 bool operator==(const SalX11Screen
&rOther
) const { return rOther
.mnXScreen
== mnXScreen
; }
22 bool operator!=(const SalX11Screen
&rOther
) const { return rOther
.mnXScreen
!= mnXScreen
; }
25 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */