summaryrefslogtreecommitdiff
path: root/sysui/source/win32/misc/WinImplHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sysui/source/win32/misc/WinImplHelper.hxx')
-rw-r--r--sysui/source/win32/misc/WinImplHelper.hxx48
1 files changed, 41 insertions, 7 deletions
diff --git a/sysui/source/win32/misc/WinImplHelper.hxx b/sysui/source/win32/misc/WinImplHelper.hxx
index d15bc1c0b0a7..cc3891b549b3 100644
--- a/sysui/source/win32/misc/WinImplHelper.hxx
+++ b/sysui/source/win32/misc/WinImplHelper.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: WinImplHelper.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: tra $ $Date: 2001-04-26 08:57:05 $
+ * last change: $Author: tra $ $Date: 2001-06-15 15:26:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -77,22 +77,56 @@
#include <windows.h>
+#ifndef _COM_SUN_STAR_UNO_ANY_HXX_
+#include <com/sun/star/uno/Any.hxx>
+#endif
+
+#ifndef _COM_SUN_STAR_LANG_ILLEGALARGUMENTEXCEPTION_HPP_
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#endif
+
//------------------------------------------------------------------------
// deklarations
//------------------------------------------------------------------------
sal_Bool SAL_CALL IsWin2000( );
-rtl::OUString SAL_CALL getCurrentComboboxItem( HWND hwndCbo );
-sal_Bool SAL_CALL addComboboxItem( HWND hwndCbo, const rtl::OUString& aItem );
+// set actions
+void SAL_CALL ListboxAddItem(
+ HWND hwnd, const ::com::sun::star::uno::Any& aItem, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rXInterface, sal_Int16 aArgPos )
+ throw( ::com::sun::star::lang::IllegalArgumentException );
+
+void SAL_CALL ListboxAddItems(
+ HWND hwnd, const ::com::sun::star::uno::Any& aItemList, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rXInterface, sal_Int16 aArgPos )
+ throw( ::com::sun::star::lang:: IllegalArgumentException );
+
+void SAL_CALL ListboxDeleteItem(
+ HWND hwnd, const ::com::sun::star::uno::Any& aPosition, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rXInterface, sal_Int16 aArgPos )
+ throw( ::com::sun::star::lang::IllegalArgumentException );
+
+void SAL_CALL ListboxDeleteItems(
+ HWND hwnd, const ::com::sun::star::uno::Any& aUnused, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rXInterface, sal_Int16 aArgPos )
+ throw( ::com::sun::star::lang::IllegalArgumentException );
+
+void SAL_CALL ListboxSetSelectedItem(
+ HWND hwnd, const ::com::sun::star::uno::Any& aPosition, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rXInterface, sal_Int16 aArgPos )
+ throw( ::com::sun::star::lang::IllegalArgumentException );
+
+// get actions
+::com::sun::star::uno::Any SAL_CALL ListboxGetItems( HWND hwnd );
+::com::sun::star::uno::Any SAL_CALL ListboxGetSelectedItem( HWND hwnd );
+
+// checkbox helper functions
+::com::sun::star::uno::Any SAL_CALL CheckboxGetState( HWND hwnd );
-sal_Bool SAL_CALL getCheckboxState( HWND hwndCbx );
-void SAL_CALL setCheckboxState( HWND hwndCbx, sal_Bool bCheckState );
+void SAL_CALL CheckboxSetState(
+ HWND hwnd, const ::com::sun::star::uno::Any& aState, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rXInterface, sal_Int16 aArgPos )
+ throw( ::com::sun::star::lang::IllegalArgumentException );
// calculates the length of '\0' separated and '\0\0'
// ending strings used in some Win32 functions
// e.g. Filter\0*.txt\0\0
// the returned length excludes the last '\0'
-sal_uInt32 _wcslenex( const sal_Unicode* pStr );
+sal_uInt32 SAL_CALL _wcslenex( const sal_Unicode* pStr );
#endif