~ubuntu-branches/ubuntu/precise/qtscriptgenerator/precise

« back to all changes in this revision

Viewing changes to qtbindings/qtscript_core/qtscriptconcurrent.h

  • Committer: Bazaar Package Importer
  • Author(s): Modestas Vainius
  • Date: 2009-04-25 16:16:02 UTC
  • Revision ID: james.westby@ubuntu.com-20090425161602-vrlxapa3fbo2k3x7
Tags: upstream-0.1.0
ImportĀ upstreamĀ versionĀ 0.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
**
 
3
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
 
4
**
 
5
** This file is part of the Qt Script Generator project on Trolltech Labs.
 
6
**
 
7
** This file may be used under the terms of the GNU General Public
 
8
** License version 2.0 as published by the Free Software Foundation
 
9
** and appearing in the file LICENSE.GPL included in the packaging of
 
10
** this file.  Please review the following information to ensure GNU
 
11
** General Public Licensing requirements will be met:
 
12
** http://www.trolltech.com/products/qt/opensource.html
 
13
**
 
14
** If you are unsure which license is appropriate for your use, please
 
15
** review the following information:
 
16
** http://www.trolltech.com/products/qt/licensing.html or contact the
 
17
** sales department at sales@trolltech.com.
 
18
**
 
19
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 
20
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
21
**
 
22
****************************************************************************/
 
23
 
 
24
#ifndef QTSCRIPTCONCURRENT_H
 
25
#define QTSCRIPTCONCURRENT_H
 
26
 
 
27
#ifndef QT_NO_CONCURRENT
 
28
 
 
29
#include <QtScript/qscriptvalue.h>
 
30
#include <QtCore/qfuture.h>
 
31
#include <QtCore/qfuturewatcher.h>
 
32
#include <QtCore/qfuturesynchronizer.h>
 
33
 
 
34
typedef QFutureWatcher<void> QtScriptVoidFutureWatcher;
 
35
typedef QFuture<void> QtScriptVoidFuture;
 
36
typedef QFutureSynchronizer<void> QtScriptVoidFutureSynchronizer;
 
37
typedef QFuture<QScriptValue> QtScriptFuture;
 
38
typedef QFutureWatcher<QScriptValue> QtScriptFutureWatcher;
 
39
typedef QFutureSynchronizer<QScriptValue> QtScriptFutureSynchronizer;
 
40
typedef QFutureIterator<QScriptValue> QtScriptFutureIterator;
 
41
 
 
42
#endif // QT_NO_CONCURRENT
 
43
 
 
44
#endif