XDispatch 0.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
qdispatchglobal.h
Go to the documentation of this file.
00001 /*
00002 * Copyright (c) 2011-2013 MLBA-Team. All rights reserved.
00003 *
00004 * @MLBA_OPEN_LICENSE_HEADER_START@
00005 *
00006 * Licensed under the Apache License, Version 2.0 (the "License");
00007 * you may not use this file except in compliance with the License.
00008 * You may obtain a copy of the License at
00009 *
00010 *     http://www.apache.org/licenses/LICENSE-2.0
00011 *
00012 * Unless required by applicable law or agreed to in writing, software
00013 * distributed under the License is distributed on an "AS IS" BASIS,
00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015 * See the License for the specific language governing permissions and
00016 * limitations under the License.
00017 *
00018 * @MLBA_OPEN_LICENSE_HEADER_END@
00019 */
00020 
00021 
00022 #ifndef QDISPATCH_GLOBAL_H_
00023 #define QDISPATCH_GLOBAL_H_
00024 
00025 #include <xdispatch/dispatch.h>
00026 
00027 #include <QtCore/qglobal.h>
00028 
00034 #ifndef QT_MODULE
00035 # define QT_MODULE(X)
00036 # define QT_LICENSED_MODULE(X)
00037 # define QT_BEGIN_NAMESPACE
00038 # define QT_END_NAMESPACE
00039 # define QT_BEGIN_HEADER
00040 # define QT_END_HEADER
00041 #endif
00042 
00043 #if defined(QT_MAKEDLL) || !defined(_WIN32)
00044 # define Q_DISPATCH_EXPORT Q_DECL_EXPORT
00045 #else
00046 # define Q_DISPATCH_EXPORT Q_DECL_IMPORT
00047 #endif
00048 
00049 QT_LICENSED_MODULE(Dispatch)
00050 
00051 QT_BEGIN_HEADER
00052 QT_BEGIN_NAMESPACE
00053 
00054 QT_MODULE(Dispatch)
00055 
00065 typedef xdispatch::synclock QDispatchSynclock;
00066 
00067 QT_END_NAMESPACE
00068 QT_END_HEADER
00069 
00072 #endif /* QDISPATCH_GLOBAL_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Jan 27 2013 21:21:52 for XDispatch by Doxygen 1.7.6.1
© 2010-2013 MLBA (about | privacy) All Rights reserved.