Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Index: src/funcrequest.h | =================================================================== | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/funcrequest.h,v | retrieving revision 1.18 | diff -u -p -r1.18 funcrequest.h | --- src/funcrequest.h 3 Feb 2004 11:49:05 -0000 1.18 | +++ src/funcrequest.h 5 Nov 2004 15:09:11 -0000 | @@ -25,16 +25,27 @@ | */ | class FuncRequest { | public: | - /// just for putting thes things in std::container | - FuncRequest(); | + /// Where the request came from | + enum Origin { | + INTERNAL, | + UI, // The menu or the toolbar | + KEYBOARD, // a keyboard binding | + COMMANDBUFFER | + }; | + | + /// just for putting these things in std::container | + FuncRequest(Origin o = INTERNAL); | /// actions without extra argument | - explicit FuncRequest(kb_action act); | + explicit FuncRequest(kb_action act, Origin o = INTERNAL);
This should probably get "explcit" now. -- Lgb