Debian Codegraph @

HercStudio/HerculesStudio.h

raw symbols SCIP
1 /*
2 * File: HerculesStudio.h
3 *
4 * Author: Jacob Dekel
5 * Created on: Aug 7, 2009
6 *
7 * Copyright (c) 2009-2013 Jacob Dekel
8 * $Id: HerculesStudio.h 170 2012-12-17 07:45:20Z dekeljacob $
9 *
10 * a collection of product-wide definitions
11 *
12 * This program is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation, either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program. If not, see <http://www.gnu.org/licenses/>.
24 *
25 */
26
27 #ifndef HERCULESSTUDIO_H_
28 #define HERCULESSTUDIO_H_cxx . . $ `HercStudio/HerculesStudio.h:28:9`!
29
30 #include <qglobal.h>
31 #include <QSharedPointer>
32 #ifndef HS_BUILD_ID
33 #define HS_BUILD_IDcxx . . $ `HercStudio/HerculesStudio.h:33:9`! "Unknown"
34 #endif
35 #define HERCSTUDIO_VERSIONcxx . . $ `HercStudio/HerculesStudio.h:35:9`! "Version: 1.5.0"
36 #define HERCSTUDIO_REVISIONcxx . . $ `HercStudio/HerculesStudio.h:36:9`! "$Revision$"
37 #define hDEBUGcxx . . $ `HercStudio/HerculesStudio.h:37:9`! 0
38 #define UNISTD_INCcxx . . $ `HercStudio/HerculesStudio.h:38:9`!
39 #ifdef Q_WS_WIN
40 #define hFramework
41 #define hCRLF
42 #undef UNISTD_INC
43 #endif
44 #include <iostream>
45
46 #define hOutDebugNlcxx . . $ `HercStudio/HerculesStudio.h:46:9`!(level,s) {if ((level) <= hDEBUGcxx . . $ `HercStudio/HerculesStudio.h:37:9`! ) \
47 {std::cout << s;} \
48 else {}}
49 #define hOutDebugcxx . . $ `HercStudio/HerculesStudio.h:49:9`!(level,s) hOutDebugNlcxx . . $ `HercStudio/HerculesStudio.h:46:9`!(level, s << std::endl)
50
51 #define checkedConnectcxx . . $ `HercStudio/HerculesStudio.h:51:9`!(button,slot) \
52 if ((button) != NULL ) { connect(button, SIGNAL(clicked()), this , SLOT(slot)) ;} else{};
53
54 #define mk_shared_ptrcxx . . $ `HercStudio/HerculesStudio.h:54:9`!(p) class p ; typedef QSharedPointer<p> p##Ptr;
55 #define mk_shared_constptrcxx . . $ `HercStudio/HerculesStudio.h:55:9`!(p) class p ; typedef QSharedPointer<const p> p##ConstPtr;
56
57 class hsExceptioncxx . . $ hsException# : public stdcxx . . $ std/::exception
58 {
59 public:
60 hsExceptioncxx . . $ hsException#hsException(8d4ab0a187bf9331).(stdcxx . . $ std/::stringcxx . . $ std/string# msg)
61 {
62 mWhatcxx . . $ hsException#mWhat. =cxx . . $ std/__cxx11/basic_string#`operator=`(978ca1133b5f6e74). msg.c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).();
63 }
64 virtual ~cxx . . $ hsException#`~hsException`(49f6e7a06ebc5aa8).hsExceptioncxx . . $ hsException#() throw()
65 {
66
67 }
68 virtual const char* whatcxx . . $ hsException#what(a9f41ea0e82d88cf).() const throw()
69 {
70 return mWhatcxx . . $ hsException#mWhat..c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).();
71 }
72 private:
73 stdcxx . . $ std/::stringcxx . . $ std/string# mWhatcxx . . $ hsException#mWhat.;
74 };
75
76 #endif /* HERCULESSTUDIO_H_ */