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 | f1dab1d5612500ea7bc7a94e26f436e78995c67c (patch) | |
tree | f5217f3ba4cfc8a708dbc423c39070f87c612c9a /pyuno | |
parent | 99128bad10a447b8ed6081c53669132fd23dd88f (diff) |
#i12504# added conversion mode
Diffstat (limited to 'pyuno')
-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 027ac6f359f0..86713bea48e0 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); |