diff options
author | npower Developer <npower@openoffice.org> | 2010-04-19 11:02:13 +0100 |
---|---|---|
committer | npower Developer <npower@openoffice.org> | 2010-04-19 11:02:13 +0100 |
commit | 7780dbea502bce290f94c8fe357566d45509ff55 (patch) | |
tree | 258ebf30c7958d50601dd791f972e084db7b2555 /basctl/source/inc | |
parent | d17f9a78f7eec405bca5c5e5707f2bf222a04d87 (diff) |
npower13_objectmodules: fold in review comment ( about making lcl_getObjectName & lcl_getModuleType 'real' methods of a helper for basctl)
Diffstat (limited to 'basctl/source/inc')
-rw-r--r-- | basctl/source/inc/bastypes.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx index c9981001e456..bc588fccaf14 100644 --- a/basctl/source/inc/bastypes.hxx +++ b/basctl/source/inc/bastypes.hxx @@ -328,5 +328,13 @@ BOOL QueryDelModule( const String& rName, Window* pParent = 0 ); BOOL QueryDelLib( const String& rName, BOOL bRef = FALSE, Window* pParent = 0 ); BOOL QueryPassword( const ::com::sun::star::uno::Reference< ::com::sun::star::script::XLibraryContainer >& xLibContainer, const String& rLibName, String& rPassword, BOOL bRepeat = FALSE, BOOL bNewTitle = FALSE ); - +class ModuleInfoHelper +{ +ModuleInfoHelper(); +ModuleInfoHelper(const ModuleInfoHelper&); +ModuleInfoHelper& operator = (const ModuleInfoHelper&); +public: + static void getObjectName( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >& rLib, const String& rModName, String& rObjName ); + static sal_Int32 getModuleType( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >& rLib, const String& rModName ); +}; #endif // _BASTYPES_HXX |