]> git.lyx.org Git - features.git/commitdiff
Signal3 now supported
authorAllan Rae <rae@lyx.org>
Thu, 10 Aug 2000 04:54:00 +0000 (04:54 +0000)
committerAllan Rae <rae@lyx.org>
Thu, 10 Aug 2000 04:54:00 +0000 (04:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@963 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
development/tools/makeLyXsigc.sh
sigc++/macros/basic_signal.h.m4
sigc++/macros/bind.h.m4
sigc++/macros/class_slot.h.m4
sigc++/macros/convert.h.m4
sigc++/macros/func_slot.h.m4
sigc++/macros/object_slot.h.m4
sigc++/macros/retbind.h.m4
sigc++/macros/rettype.h.m4
sigc++/macros/slot.h.m4

index 4061a99c2e531882081d0737401aaae01e8a041d..8d41e3d2ae452890b544c8c33be10ce1d7b883e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-08-10  Allan Rae  <rae@lyx.org>
+
+       * development/tools/makeLyXsigc.sh: Updated to allow Signal3.  Note
+       that there are two functions that have to been taken out of line by
+       hand and aren't taken care of in the script.  (Just a reminder note)
+
+       * sigc++/macros/*.h.m4: Updated as above.
+
 2000-08-09  Juergen Vigna  <jug@sad.it>
 
        * src/insets/insettext.C (draw): small fix for clearing rectangle.
index 33b9a82d379c64058fa73354ae28c0f4705a0aea..84b436ab444747b28d47794612b92253f558901c 100644 (file)
@@ -72,8 +72,8 @@ EOF
 )
 
 
-echo "Limiting to Signal2"
-# we only need up to Signal2
+echo "Limiting to Signal3"
+# we only need up to Signal3
 # NOTE: sigc++ needs 2 slots higher than the number of signals (see bind.h)
 # Anyone feeling keen?
 # How would you like to make this a parameter-controlled stripping of
@@ -83,11 +83,11 @@ for i in `ls $package/sigc++/macros/*.h.m4`; do
   case $i in
     $package/sigc++/macros/slot.h.m4)
         sed < $i > $i.tmp \
-               -e '/.*ARGS(P,[56789]).*/d'
+               -e '/.*ARGS(P,[6789]).*/d'
         ;;
     *)
         sed < $i > $i.tmp \
-               -e '/.*ARGS(P,[3456789]).*/d'
+               -e '/.*ARGS(P,[456789]).*/d'
         ;;
   esac
   rm -f $i
index a8e15f2ab92b979ef1b75a134dbad493d9d1cbfe..3dfddad94e18ed9c9ac52e9a7f6173c9809aadc2 100644 (file)
@@ -216,6 +216,7 @@ void [Signal]NUM($1)<LIST(void,1,ARG_TYPE($1),[$1],Marsh,1)>::
 BASIC_SIGNAL(ARGS(P,0))
 BASIC_SIGNAL(ARGS(P,1))
 BASIC_SIGNAL(ARGS(P,2))
+BASIC_SIGNAL(ARGS(P,3))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index 3202d35c9b492f1d6b7bd37db1bdf197c09455f5..50bd5db677acd63d5afbaa769c8b5add6d230050 100644 (file)
@@ -166,10 +166,12 @@ struct [AdaptorBindSlot]NUM($2)[_]NUM($3): public AdaptorSlot_
 ADAPTOR_BIND_SLOT(ARGS(P,0),ARGS(C,1),ARGS(A,1))
 ADAPTOR_BIND_SLOT(ARGS(P,1),ARGS(C,1),ARGS(A,1))
 ADAPTOR_BIND_SLOT(ARGS(P,2),ARGS(C,1),ARGS(A,1))
+ADAPTOR_BIND_SLOT(ARGS(P,3),ARGS(C,1),ARGS(A,1))
 
 ADAPTOR_BIND_SLOT(ARGS(P,0),ARGS(C,2),ARGS(A,2))
 ADAPTOR_BIND_SLOT(ARGS(P,1),ARGS(C,2),ARGS(A,2))
 ADAPTOR_BIND_SLOT(ARGS(P,2),ARGS(C,2),ARGS(A,2))
+ADAPTOR_BIND_SLOT(ARGS(P,3),ARGS(C,2),ARGS(A,2))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index 222f026c6fdb75137a79e62d23bbc5149076346d..17f52c4cd886fb0706fb06cf2cda7b5a7b2a5ee2 100644 (file)
@@ -99,6 +99,7 @@ __SLOT__(R,[$1])
 CLASS_SLOT(ARGS(P,0))
 CLASS_SLOT(ARGS(P,1))
 CLASS_SLOT(ARGS(P,2))
+CLASS_SLOT(ARGS(P,3))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index 4d9d3d7fa8889c986d7ca5a5092dedeaa37f9060..368ba0c76ca745ab833dcc33cf0a2e24784785af 100644 (file)
@@ -125,6 +125,7 @@ struct [AdaptorConvertSlot]NUM($2)[_]NUM($3): public AdaptorSlot_
 
 ADAPTOR_CONVERT_SLOT(ARGS(P,1),ARGS(Q,1))
 ADAPTOR_CONVERT_SLOT(ARGS(P,2),ARGS(Q,2))
+ADAPTOR_CONVERT_SLOT(ARGS(P,3),ARGS(Q,3))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index 56e32fce7cdba1792b5592422b247d85232ac7e3..327b9868413ae96ce55a2fe076a12e63f9f8c88a 100644 (file)
@@ -114,6 +114,7 @@ ifelse($1,void,[dnl
 FUNCTION_SLOT(ARGS(P,0))
 FUNCTION_SLOT(ARGS(P,1))
 FUNCTION_SLOT(ARGS(P,2))
+FUNCTION_SLOT(ARGS(P,3))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index bfefffe285822f0864ceb596c60e72ab857d0d92..51f390d3dae9d70f2fbe8de2426ee9204bfecfe7 100644 (file)
@@ -136,6 +136,7 @@ struct [ObjectSlot]NUM($2)_
 OBJECT_SLOT(ARGS(P,0))
 OBJECT_SLOT(ARGS(P,1))
 OBJECT_SLOT(ARGS(P,2))
+OBJECT_SLOT(ARGS(P,3))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index d48744a77c82236ea1cc475ac19b086c28be605e..b0ce29769bd3ab9fb2486b24eb3815f2a14aebd6 100644 (file)
@@ -148,6 +148,7 @@ struct [AdaptorRetBindSlot]NUM($2): public AdaptorSlot_
 ADAPTOR_RETBIND_SLOT(ARGS(P,0))
 ADAPTOR_RETBIND_SLOT(ARGS(P,1))
 ADAPTOR_RETBIND_SLOT(ARGS(P,2))
+ADAPTOR_RETBIND_SLOT(ARGS(P,3))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index 9b2d0786503f8d644f6621c993204d1935ada788..d758ef397acda0fd2bf8064cef1eda53afbb61ff 100644 (file)
@@ -136,6 +136,7 @@ ifelse($1,void,[dnl
 ADAPTOR_RETTYPE_SLOT(ARGS(P,0))
 ADAPTOR_RETTYPE_SLOT(ARGS(P,1))
 ADAPTOR_RETTYPE_SLOT(ARGS(P,2))
+ADAPTOR_RETTYPE_SLOT(ARGS(P,3))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace
index e878f7705cf654d01a3d6baf08985cfafe29297c..2170abf436b21c0200354d79fb3cf1c3de1d9414 100644 (file)
@@ -361,6 +361,7 @@ SLOT(ARGS(P,1))
 SLOT(ARGS(P,2))
 SLOT(ARGS(P,3))
 SLOT(ARGS(P,4))
+SLOT(ARGS(P,5))
 
 #ifdef SIGC_CXX_NAMESPACES
 } // namespace