summaryrefslogtreecommitdiff
path: root/gensigs.bld
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-06-22 23:53:38 +0000
committerMike Buland <eichlan@xagasoft.com>2011-06-22 23:53:38 +0000
commit6db5a815fef8c5372220cc223b1a8edcb99f3744 (patch)
tree00ca9139b6b60146717b6960c0423ed9c136001f /gensigs.bld
parent19bf2c94db3a451adebf86df65883dad685ae40f (diff)
downloadlibbu++-6db5a815fef8c5372220cc223b1a8edcb99f3744.tar.gz
libbu++-6db5a815fef8c5372220cc223b1a8edcb99f3744.tar.bz2
libbu++-6db5a815fef8c5372220cc223b1a8edcb99f3744.tar.xz
libbu++-6db5a815fef8c5372220cc223b1a8edcb99f3744.zip
Tweaked the signals, they're more adaptable now.
Diffstat (limited to 'gensigs.bld')
-rw-r--r--gensigs.bld7
1 files changed, 5 insertions, 2 deletions
diff --git a/gensigs.bld b/gensigs.bld
index d973f91..d485a6e 100644
--- a/gensigs.bld
+++ b/gensigs.bld
@@ -13,8 +13,8 @@ function genSigs( outName )
13 " * terms of the license contained in the file LICENSE.\n" 13 " * terms of the license contained in the file LICENSE.\n"
14 " */\n" 14 " */\n"
15 "\n" 15 "\n"
16 "#ifndef BU_OBJECT_SIGNALS_H\n" 16 "#ifndef BU_SIGNALS_H\n"
17 "#define BU_OBJECT_SIGNALS_H\n" 17 "#define BU_SIGNALS_H\n"
18 "\n" 18 "\n"
19 "#include \"bu/util.h\"\n" 19 "#include \"bu/util.h\"\n"
20 "#include \"bu/exceptionbase.h\"\n" 20 "#include \"bu/exceptionbase.h\"\n"
@@ -50,6 +50,8 @@ function genSigs( outName )
50 } 50 }
51 } 51 }
52 fOut.write( 52 fOut.write(
53 "#ifndef BU_SIGNAL_PARAM_COUNT_${i}\n"
54 "#define BU_SIGNAL_PARAM_COUNT_${i}\n"
53 " //\n" 55 " //\n"
54 " // ${i} Parameter(s)\n" 56 " // ${i} Parameter(s)\n"
55 " //\n" 57 " //\n"
@@ -154,6 +156,7 @@ function genSigs( outName )
154 " new __Slot${i}F<${templCallParams}>( pFnc )\n" 156 " new __Slot${i}F<${templCallParams}>( pFnc )\n"
155 " );\n" 157 " );\n"
156 " }\n" 158 " }\n"
159 "#endif // BU_SIGNAL_PARAM_COUNT_${i}\n"
157 "\n" 160 "\n"
158 ); 161 );
159 } 162 }