repos
/
qt.uitools
/ annotate_shade
summary
|
shortlog
|
log
|
tree
|
commit
|
commitdiff
|
headdiff
|
annotate
|
headblob
|
headfilediff
|
filehistory
normal
|
plain
|
shade
|
zebra
License
Annotate for file src/qt.uitools.lisp
2009-04-14 tobias
1
;;; Copyright (C) 2009 Tobias Rautenkranz <tobias@rautenkranz.ch>
14:27:04 '
2
;;;
'
3
;;; This program is free software: you can redistribute it and/or modify
'
4
;;; it under the terms of the GNU General Public License as published by
'
5
;;; the Free Software Foundation, either version 3 of the License, or
'
6
;;; (at your option) any later version.
'
7
;;;
'
8
;;; This program is distributed in the hope that it will be useful,
'
9
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
'
10
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
'
11
;;; GNU General Public License for more details.
'
12
;;;
'
13
;;; You should have received a copy of the GNU General Public License
'
14
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
'
15
;;;
'
16
;;; As a special exception, the copyright holders of this library give you
'
17
;;; permission to link this library with independent modules to produce an
'
18
;;; executable, regardless of the license terms of these independent
'
19
;;; modules, and to copy and distribute the resulting executable under
'
20
;;; terms of your choice, provided that you also meet, for each linked
'
21
;;; independent module, the terms and conditions of the license of that
'
22
;;; module. An independent module is a module which is not derived from or
'
23
;;; based on this library. If you modify this library, you may extend this
'
24
;;; exception to your version of the library, but you are not obligated to
'
25
;;; do so. If you do not wish to do so, delete this exception statement
'
26
;;; from your version.
'
27
2009-04-02 tobias
28
(in-package :qt.uitools)
22:17:16 '
29
2009-05-14 tobias
30
(eval-when (:load-toplevel :compile-toplevel)
12:13:53 '
31
(define-foreign-library libsmokeqtuitools
'
32
(:unix "libsmokeqtuitools.so.2")
'
33
(t (:default "libsmokeqtuitools")))
'
34
(use-foreign-library libsmokeqtuitools)
'
35
'
36
(defcvar "qtuitools_Smoke" :pointer
'
37
"The Smoke QtUiTools binding")
'
38
'
39
(defcfun (init-qtuitools-smoke "_Z20init_qtuitools_Smokev") :void)
'
40
'
41
(defvar *binding* (null-pointer))
'
42
'
43
(init-qtuitools-smoke))
'
44
'
45
(eval-when (:load-toplevel)
'
46
(when (null-pointer-p *binding*)
'
47
(setf *binding* (init *qtuitools-smoke*))
'
48
(make-smoke-classes *qtuitools-smoke*)))
'
49
'
50
(define-methods *qtuitools-smoke*)
'
51