diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-19 08:06:58 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-19 08:06:58 +0000 |
commit | 52d7bea1b66ddb8d5674a0bafa2ace2476eac166 (patch) | |
tree | 08ad513888e5521dab872d77f55bc7b5d87a09d6 /Build/source/libs/poppler/poppler-0.23.3/goo/GooTimer.h | |
parent | ff8ed901d8a027d8ff5584c40a64ca4c5b825d28 (diff) |
poppler 0.23.4
git-svn-id: svn://tug.org/texlive/trunk@31239 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/poppler/poppler-0.23.3/goo/GooTimer.h')
-rw-r--r-- | Build/source/libs/poppler/poppler-0.23.3/goo/GooTimer.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/Build/source/libs/poppler/poppler-0.23.3/goo/GooTimer.h b/Build/source/libs/poppler/poppler-0.23.3/goo/GooTimer.h deleted file mode 100644 index d77373e90c1..00000000000 --- a/Build/source/libs/poppler/poppler-0.23.3/goo/GooTimer.h +++ /dev/null @@ -1,57 +0,0 @@ -//======================================================================== -// -// GooTimer.cc -// -// This file is licensed under GPLv2 or later -// -// Copyright 2005 Jonathan Blandford <jrb@redhat.com> -// Copyright 2007 Krzysztof Kowalczyk <kkowalczyk@gmail.com> -// Copyright 2010 Hib Eris <hib@hiberis.nl> -// Copyright 2011 Albert Astals cid <aacid@kde.org> -// Inspired by gtimer.c in glib, which is Copyright 2000 by the GLib Team -// -//======================================================================== - -#ifndef GOOTIMER_H -#define GOOTIMER_H - -#ifdef USE_GCC_PRAGMAS -#pragma interface -#endif - -#include "poppler-config.h" -#include "gtypes.h" -#ifdef HAVE_GETTIMEOFDAY -#include <sys/time.h> -#endif - -#ifdef _WIN32 -#include <windows.h> -#endif - -//------------------------------------------------------------------------ -// GooTimer -//------------------------------------------------------------------------ - -class GooTimer { -public: - - // Create a new timer. - GooTimer(); - - void start(); - void stop(); - double getElapsed(); - -private: -#ifdef HAVE_GETTIMEOFDAY - struct timeval start_time; - struct timeval end_time; -#elif defined(_WIN32) - LARGE_INTEGER start_time; - LARGE_INTEGER end_time; -#endif - GBool active; -}; - -#endif |