[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Protux-devel] JMB text
From: |
Remon Sijrier |
Subject: |
Re: [Protux-devel] JMB text |
Date: |
Wed, 5 May 2004 21:05:00 +0200 |
User-agent: |
KMail/1.6.2 |
On Wednesday 05 May 2004 20:08, Luciano Giordana wrote:
> The jmb.map maps a "keyboard facts" (which can be a sequence of keys, or
> just one key like >K >K or << KK >>) to an "actionId". Then, a
> MustuxApplication is mapping an jmb action to the actionId.
done.
Some completely other question.
When calling:
Jmb::connect_actionid_to_slot(void* object,
int actionId,
JmbMode* mode,
JmbContext* context,
int (*aslot)( void*, JmbMessage* ),
int property)
We have the object thing.
What I want to do is something like this:
if (object->type == action->object->type)
{
do_something()
}
Object can be of all kind of types, like Song, Interface etc.
You used in your macros in MJMB.hh this:
void* p = (void*) jmb_static_slot_ ##className ##_ ##slotName; \
className* instance = (className*) obj;\
So in my example I'm interested in this "instance" thing.
For the purpose I want to use it, the className of the object will do. But I
don't know how to accomplish this.
Any help greatly appreciated.
Thanks,
Remon
- [Protux-devel] JMB text, Luciano Giordana, 2004/05/05
- Re: [Protux-devel] JMB text,
Remon Sijrier <=
- Re: [Protux-devel] JMB text, rsff, 2004/05/06
- [Protux-devel] The JmbContext/Mode/JogMode, Remon Sijrier, 2004/05/06
- Re: [Protux-devel] JMB text, Remon Sijrier, 2004/05/11
- [Protux-devel] Protux (CVS) working again,, Remon Sijrier, 2004/05/12
- Re: [Protux-devel] Protux (CVS) working again,, Reinhard Amersberger, 2004/05/15
- Re: [Protux-devel] Protux (CVS) working again,, Reinhard Amersberger, 2004/05/15
- Re: [Protux-devel] Protux (CVS) working again,, Remon Sijrier, 2004/05/16
- Re: [Protux-devel] Protux (CVS) working again,, Reinhard Amersberger, 2004/05/23
- Re: [Protux-devel] Protux (CVS) working again,, Remon Sijrier, 2004/05/24