From 2816be9dc2eded3ed8c183abb65dc8668690c43b Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 13 Jul 2010 07:21:42 +0000 Subject: Initial development version for Qt3 HIGHLY EXPERIMENTAL API subject to rapid and substantial change Test code is included; be warned git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1149288 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqsemaphore.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 qtinterface/tqsemaphore.h (limited to 'qtinterface/tqsemaphore.h') diff --git a/qtinterface/tqsemaphore.h b/qtinterface/tqsemaphore.h new file mode 100644 index 0000000..dfbec87 --- /dev/null +++ b/qtinterface/tqsemaphore.h @@ -0,0 +1,36 @@ +/* + +Copyright (C) 2010 Timothy Pearson + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQSEMAPHORE_H +#define TQSEMAPHORE_H + +#include + +#ifdef USE_QT3 + +// Reimplement the QSemaphore class +// For Qt3, no changes are needed + +#include + +#endif // USE_QT3 + +#endif /* TQSEMAPHORE_H */ \ No newline at end of file -- cgit v1.2.1