Ali.....How are you?
I guess Hefny replied your question, he just forgot a "not" [Typing
mistake].
Let me rephrase:
So why do*n't* you want to pass the drawable object by reference ? Maybe
for protection ?
In this case you can use reference to const:
int registerObject(*const* DrawableObject& dObject);
regards
safey