diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2003-05-24 22:13:10 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2003-05-24 22:13:10 +0000 |
commit | ea820981ca8921a39684f3b385df54ace0c55490 (patch) | |
tree | 9f6e23a75b2b34469368594f6531371b221d103e /pyuno/inc | |
parent | a6da3dd4a7729c1bdaeb25f0f30ea9c7ff8b9372 (diff) |
#i12504# added conversion mode
Diffstat (limited to 'pyuno/inc')
-rw-r--r-- | pyuno/inc/pyuno/pyuno.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pyuno/inc/pyuno/pyuno.hxx b/pyuno/inc/pyuno/pyuno.hxx index 145a671e9..7e2ad7b90 100644 --- a/pyuno/inc/pyuno/pyuno.hxx +++ b/pyuno/inc/pyuno/pyuno.hxx @@ -131,6 +131,8 @@ public: struct stRuntimeImpl; typedef struct stRuntimeImpl RuntimeImpl; +enum ConversionMode { ACCEPT_UNO_ANY, REJECT_UNO_ANY }; + /** The pyuno::Runtime class keeps the internal state of the python UNO bridge for the currently in use python interpreter. @@ -209,7 +211,8 @@ public: the global interpreter lock is held and pyuno has been initialized */ - com::sun::star::uno::Any pyObject2Any ( const PyRef & source ) const + com::sun::star::uno::Any pyObject2Any ( + const PyRef & source , enum ConversionMode mode = REJECT_UNO_ANY ) const throw ( com::sun::star::uno::RuntimeException); |