Tag: cws_src680_hsqlcsv User: fs Date: 2008-01-17 02:41:38+0000 Modified: dba/dbaccess/source/ui/inc/imageprovider.hxx
Log: RESYNC: (1.2-1.3); FILE MERGED File Changes: Directory: /dba/dbaccess/source/ui/inc/ ======================================= File [changed]: imageprovider.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/inc/imageprovider.hxx?r1=1.1.2.2&r2=1.1.2.3 Delta lines: +15 -16 --------------------- --- imageprovider.hxx 2006-09-18 20:19:06+0000 1.1.2.2 +++ imageprovider.hxx 2008-01-17 02:41:35+0000 1.1.2.3 @@ -62,7 +62,7 @@ //==================================================================== //= ImageProvider //==================================================================== - struct ImageProvider_Impl; + struct ImageProvider_Data; /** provides images for database objects such as tables, queries, forms, reports ... At the moment, this class cares for small icons only, that is, icons which can be used @@ -72,7 +72,7 @@ class ImageProvider { private: - ::boost::shared_ptr< ImageProvider_Impl > m_pImpl; + ::boost::shared_ptr< ImageProvider_Data > m_pData; public: /** creates a semi-functional ImageProvider instance @@ -98,24 +98,23 @@ constants. @param _rName the name of the object - @param _bHighContrast - indicates whether High-Contrast icons should be used. - Note that normally, this would be some application-wide setting. However, - in current OOo, HC support is decided on a per-control basis, means every - control decides itself whether its images must be HC versions or not. - Thus callers need to specify this flag. + @param _out_rImage + the normal image to use for the object + @param _out_rImageHC + the high-contrast version of the image to use for the object @return the image to be used for the object. */ - Image getImage( + void getImages( const String& _rName, - sal_Int32 _nDatabaseObjectType, - bool _bHighContrast + const sal_Int32 _nDatabaseObjectType, + Image& _out_rImage, + Image& _out_rImageHC ); /** returns the default image to be used for a database object - In opposite to getImage, this method does not check the concrete object + In opposite to getImages, this method does not check the concrete object for its image, but returns a default image to be used for all objects of the given type. @@ -138,7 +137,7 @@ /** returns the resource ID for the default image to be used for a database object - In opposite to getImage, this method does not check the concrete object + In opposite to getImages, this method does not check the concrete object for its image, but returns a default image to be used for all objects of the given type. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
