Changes in V4RB API for 2.0

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Feb 11 17:22:13 CST 2004


Hi guys,

Now RB SDK support default parameters.

This opens excellent way to improve API of V4RB.

I want do the next major change:

-- in the class VBaseObject drop methods CreateField()

-- instead you will use set of methods:
        CreateBooleanField()
        CreateShortField()
        ...    


-- and in these methods I want add parameter flags.

We have now
    
        CreateShortField( name, method )

We will have 

        CreateShortField( name, flags = 0, method = nil )


As you see BOTH steps can break existed code:

1) if you have use CreateField() method  you must witch to type specific
create.

2) must be corrected CreatexxxxField() calls for new parameters.


But instead we get logical API as we have in C++ SDK.
I was not able mirror it in V4RB API up to know.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list