LCOV - code coverage report
Current view: top level - vcl/inc/unx - saltype.h (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 4 0.0 %
Date: 2014-11-03 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       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/.
       8             :  */
       9             : #ifndef INCLUDED_VCL_INC_UNX_SALTYPE_H
      10             : #define INCLUDED_VCL_INC_UNX_SALTYPE_H
      11             : 
      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 indicees.
      15             : // Both of these are plain unsigned integers called 'screen'
      16             : class SalX11Screen {
      17             :     unsigned int mnXScreen;
      18             : public:
      19           0 :     explicit SalX11Screen(unsigned int nXScreen) : mnXScreen( nXScreen ) {}
      20           0 :     unsigned int getXScreen() const { return mnXScreen; }
      21           0 :     bool operator==(const SalX11Screen &rOther) { return rOther.mnXScreen == mnXScreen; }
      22           0 :     bool operator!=(const SalX11Screen &rOther) { return rOther.mnXScreen != mnXScreen; }
      23             : };
      24             : 
      25             : #endif // INCLUDED_VCL_INC_UNX_SALTYPE_H
      26             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10