diff options
Diffstat (limited to 'framework/inc/classes')
-rw-r--r-- | framework/inc/classes/actiontriggerpropertyset.hxx | 12 | ||||
-rw-r--r-- | framework/inc/classes/actiontriggerseparatorpropertyset.hxx | 12 | ||||
-rw-r--r-- | framework/inc/classes/checkediterator.hxx | 38 | ||||
-rw-r--r-- | framework/inc/classes/filtercache.hxx | 26 | ||||
-rw-r--r-- | framework/inc/classes/filtercachedata.hxx | 138 | ||||
-rw-r--r-- | framework/inc/classes/framecontainer.hxx | 6 | ||||
-rw-r--r-- | framework/inc/classes/propertysethelper.hxx | 26 | ||||
-rw-r--r-- | framework/inc/classes/protocolhandlercache.hxx | 10 | ||||
-rw-r--r-- | framework/inc/classes/taskcreator.hxx | 8 | ||||
-rw-r--r-- | framework/inc/classes/wildcard.hxx | 20 |
10 files changed, 148 insertions, 148 deletions
diff --git a/framework/inc/classes/actiontriggerpropertyset.hxx b/framework/inc/classes/actiontriggerpropertyset.hxx index 4542001f5f3b..c3219698afd3 100644 --- a/framework/inc/classes/actiontriggerpropertyset.hxx +++ b/framework/inc/classes/actiontriggerpropertyset.hxx @@ -65,9 +65,9 @@ class ActionTriggerPropertySet : public ThreadHelpBase , virtual FWE_DLLPUBLIC ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (::com::sun::star::uno::RuntimeException, std::exception); private: - //--------------------------------------------------------------------------------------------------------- + // OPropertySetHelper - //--------------------------------------------------------------------------------------------------------- + virtual sal_Bool SAL_CALL convertFastPropertyValue( com::sun::star::uno::Any& aConvertedValue, com::sun::star::uno::Any& aOldValue, sal_Int32 nHandle, @@ -88,9 +88,9 @@ class ActionTriggerPropertySet : public ThreadHelpBase , static const com::sun::star::uno::Sequence< com::sun::star::beans::Property > impl_getStaticPropertyDescriptor(); - //--------------------------------------------------------------------------------------------------------- + // helper - //--------------------------------------------------------------------------------------------------------- + sal_Bool impl_tryToChangeProperty( const OUString& aCurrentValue , const com::sun::star::uno::Any& aNewValue , @@ -107,9 +107,9 @@ class ActionTriggerPropertySet : public ThreadHelpBase , com::sun::star::uno::Any& aOldValue , com::sun::star::uno::Any& aConvertedValue ) throw( com::sun::star::lang::IllegalArgumentException ); - //--------------------------------------------------------------------------------------------------------- + // members - //--------------------------------------------------------------------------------------------------------- + OUString m_aCommandURL; OUString m_aHelpURL; diff --git a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx index 025b9b0b8d08..de90232e1702 100644 --- a/framework/inc/classes/actiontriggerseparatorpropertyset.hxx +++ b/framework/inc/classes/actiontriggerseparatorpropertyset.hxx @@ -64,9 +64,9 @@ class ActionTriggerSeparatorPropertySet : public ThreadHelpBase virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw (::com::sun::star::uno::RuntimeException, std::exception); private: - //--------------------------------------------------------------------------------------------------------- + // OPropertySetHelper - //--------------------------------------------------------------------------------------------------------- + virtual sal_Bool SAL_CALL convertFastPropertyValue( com::sun::star::uno::Any& aConvertedValue, com::sun::star::uno::Any& aOldValue, sal_Int32 nHandle, @@ -87,18 +87,18 @@ class ActionTriggerSeparatorPropertySet : public ThreadHelpBase static const com::sun::star::uno::Sequence< com::sun::star::beans::Property > impl_getStaticPropertyDescriptor(); - //--------------------------------------------------------------------------------------------------------- + // helper - //--------------------------------------------------------------------------------------------------------- + sal_Bool impl_tryToChangeProperty( sal_Int16 aCurrentValue , const com::sun::star::uno::Any& aNewValue , com::sun::star::uno::Any& aOldValue , com::sun::star::uno::Any& aConvertedValue ) throw( com::sun::star::lang::IllegalArgumentException ); - //--------------------------------------------------------------------------------------------------------- + // members - //--------------------------------------------------------------------------------------------------------- + sal_Int16 m_nSeparatorType; }; diff --git a/framework/inc/classes/checkediterator.hxx b/framework/inc/classes/checkediterator.hxx index ceb3d74b430d..f207e651c177 100644 --- a/framework/inc/classes/checkediterator.hxx +++ b/framework/inc/classes/checkediterator.hxx @@ -26,7 +26,7 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short implement a iterator which support 2 end states! @descr For our search methods we need a "walking" iterator object with special functionality! We must check for 3 different states of an iterator - normal position, exact end, after end. @@ -47,17 +47,17 @@ namespace framework{ template< class TContainer > class CheckedIterator { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: - //--------------------------------------------------------------------------------------------------------- + // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** + + /*-**************************************************************************************************** @short standard constructor @descr Set default values on members. We set it internal to E_UNKNOWN to detect uninitialized instances of this class. @@ -77,11 +77,11 @@ class CheckedIterator { } - //--------------------------------------------------------------------------------------------------------- + // interface methods - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** + + /*-**************************************************************************************************** @short initialize instance with valid container @descr Set new container at an instance of this class. The other member will set automaticly! m_pPosition = first element in container @@ -110,7 +110,7 @@ class CheckedIterator } } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short set internal states to E_END @descr Sometimes we need a "walking" check-iterator which is initialized with the END-state! We need it to return one default value if no other ones exist ... @@ -129,7 +129,7 @@ class CheckedIterator m_eEndState = E_END ; } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short set internal states to E_AFTEREND @descr Sometimes we need a "walking" check-iterator which is initialized with AFTEREND-state! We need it if we don't have a container but must prevent us against further searching! @@ -148,7 +148,7 @@ class CheckedIterator m_eEndState = E_AFTEREND ; } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short reset this iterator @descr It must be called on an already initialized iterator. Means the member m_pContainer must be valid. Otherwise the reaction @@ -166,7 +166,7 @@ class CheckedIterator m_pContainer = NULL; } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short step to next element in container. @descr If end of container is reached we change our internal "m_eEndState". If end reached for first time; we set it to E_END; @@ -207,7 +207,7 @@ class CheckedIterator return *this; } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short return true if internal iterator was not initialized before @descr These will be true, if use start a new search by using these iterator mechanism! @@ -224,7 +224,7 @@ class CheckedIterator return( m_eEndState == E_UNKNOWN ); } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short return true if internal iterator reached end of container @descr These will be true if you step to the end of internal container. @@ -245,7 +245,7 @@ class CheckedIterator ); } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short return true if you call operator++ again and end already reached @descr These indicate, that end already reached but you call operator++ again and again! @@ -263,7 +263,7 @@ class CheckedIterator return( m_eEndState == E_AFTEREND ); } - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short support readonly access to container entry @descr Use it to get the value of current container item. @@ -285,9 +285,9 @@ class CheckedIterator return m_pPosition; } - //------------------------------------------------------------------------------------------------------------- + // private member - //------------------------------------------------------------------------------------------------------------- + private: diff --git a/framework/inc/classes/filtercache.hxx b/framework/inc/classes/filtercache.hxx index 52a3dcd7b365..797ba1410dc3 100644 --- a/framework/inc/classes/filtercache.hxx +++ b/framework/inc/classes/filtercache.hxx @@ -50,7 +50,7 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short cache for all filter and type information @descr Frameloader - and filterfactory need some information about our current registered filters and types. For better performance its necessary to cache all needed values. @@ -68,20 +68,20 @@ class FilterCache : private ThreadHelpBase { public: - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: - //--------------------------------------------------------------------------------------------------------- + // constructor / destructor - //--------------------------------------------------------------------------------------------------------- + FilterCache( sal_Int32 nVersion = DEFAULT_FILTERCACHE_VERSION, sal_Int16 nMode = DEFAULT_FILTERCACHE_MODE ); - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short standard destructor to delete instance @descr This will clear the cache if last owner release it. @@ -97,7 +97,7 @@ class FilterCache : private ThreadHelpBase void flush( DataContainer::ECFGType eType ); - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short get the current state of the cache @descr Call this methods to get information about the state of the current cache. @@ -117,7 +117,7 @@ class FilterCache : private ThreadHelpBase sal_Bool hasLoaders () const; sal_Bool hasContentHandlers () const; - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short search routines to find items which match given parameter @descr Mostly we search for a type first and get all information about filter, detector and loader services from the other configuration tables which are registered for this type. @@ -164,7 +164,7 @@ class FilterCache : private ThreadHelpBase CheckedStringListIterator& aStartEntry , OUString& sResult ) const; - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short get all properties of a cache entry by given name @descr If you need additional information about our internal cache values you can use these methods to get a list of all cached config values @@ -205,7 +205,7 @@ class FilterCache : private ThreadHelpBase sal_Bool existsLoader ( const OUString& sName ) const; sal_Bool existsContentHandler ( const OUString& sName ) const; - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short support special query modes @descr Our owner services need sometimes a special mode to query for subsets of our configuration! They give us a special query string - we return right values. @@ -223,7 +223,7 @@ class FilterCache : private ThreadHelpBase css::uno::Any queryFilters( const OUString& sQuery ) const; - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short support registration of elements in current configuration @descr Use this methods to add or remove items in our configuration files. We use the globale configuration to do that ... in fat office "share/config/registry/..."! @@ -313,9 +313,9 @@ class FilterCache : private ThreadHelpBase sal_Bool validateAndRepairLoader(); sal_Bool validateAndRepairHandler(); - //------------------------------------------------------------------------------------------------------------- + // private variables - //------------------------------------------------------------------------------------------------------------- + private: static sal_Int32 m_nRefCount ; diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx index 82336b441f98..dc566f73d6bd 100644 --- a/framework/inc/classes/filtercachedata.hxx +++ b/framework/inc/classes/filtercachedata.hxx @@ -66,16 +66,16 @@ enum EFilterPackage E_ADDITIONAL }; -//***************************************************************************************************************** + // These struct define a type, which present the type of a file. // He is used for easy filter detection without file stream detection! // The internal name is the keyname of an item with these structure in our hash map or our configuration set! -//***************************************************************************************************************** + struct FileType { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: inline FileType ( ) { impl_clear(); } @@ -84,9 +84,9 @@ struct FileType inline FileType& operator= ( const FileType& rCopy ) { return impl_copy( rCopy ); } inline void free ( ) { impl_clear(); } - //------------------------------------------------------------------------------------------------------------- + // private methods - //------------------------------------------------------------------------------------------------------------- + private: inline void impl_clear() @@ -114,9 +114,9 @@ struct FileType return (*this); } - //------------------------------------------------------------------------------------------------------------- + // public member - //------------------------------------------------------------------------------------------------------------- + public: sal_Bool bPreferred ; @@ -129,17 +129,17 @@ struct FileType OUStringList lExtensions ; }; -//***************************************************************************************************************** + // These struct describe a filter which is registered for one type. // He hold information about services which present the document himself (like a item) and a filter service which // filter a file in these document. // The internal name is the keyname of an item with these structure in our hash map or our configuration set! -//***************************************************************************************************************** + struct Filter { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: inline Filter ( ) { impl_clear(); } @@ -148,9 +148,9 @@ struct Filter inline Filter& operator= ( const Filter& rCopy ) { return impl_copy( rCopy ); } inline void free ( ) { impl_clear(); } - //------------------------------------------------------------------------------------------------------------- + // private methods - //------------------------------------------------------------------------------------------------------------- + private: inline void impl_clear() @@ -184,9 +184,9 @@ struct Filter return (*this); } - //------------------------------------------------------------------------------------------------------------- + // public member - //------------------------------------------------------------------------------------------------------------- + public: sal_Int32 nOrder ; @@ -202,16 +202,16 @@ struct Filter OUString sTemplateName ; }; -//***************************************************************************************************************** + // Programmer can register his own services for an content detection of different types. // The implementation or service name of these is the keyname of an item with these structure // in our hash map or our configuration set! -//***************************************************************************************************************** + struct Detector { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: inline Detector ( ) { impl_clear(); } @@ -220,9 +220,9 @@ struct Detector inline Detector& operator= ( const Detector& rCopy ) { return impl_copy( rCopy ); } inline void free ( ) { impl_clear(); } - //------------------------------------------------------------------------------------------------------------- + // private methods - //------------------------------------------------------------------------------------------------------------- + private: inline void impl_clear() @@ -238,25 +238,25 @@ struct Detector return (*this); } - //------------------------------------------------------------------------------------------------------------- + // public member - //------------------------------------------------------------------------------------------------------------- + public: OUString sName ; OUStringList lTypes ; }; -//***************************************************************************************************************** + // Programmer can register his own services for loading documents in a frame. // The implementation or service name of these is the keyname of an item with these structure // in our hash map or our configuration set! -//***************************************************************************************************************** + struct Loader { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: inline Loader ( ) { impl_clear(); } @@ -265,9 +265,9 @@ struct Loader inline Loader& operator= ( const Loader& rCopy ) { return impl_copy( rCopy ); } inline void free ( ) { impl_clear(); } - //------------------------------------------------------------------------------------------------------------- + // private methods - //------------------------------------------------------------------------------------------------------------- + private: inline void impl_clear() @@ -285,9 +285,9 @@ struct Loader return (*this); } - //------------------------------------------------------------------------------------------------------------- + // public member - //------------------------------------------------------------------------------------------------------------- + public: OUString sName ; @@ -295,15 +295,15 @@ struct Loader OUStringList lTypes ; }; -//***************************************************************************************************************** + // Programmer can register his own services to handle a FileType and intercept dispatches. // Don't forget: It's not a FrameLoader - it's a ContentHandler! (normaly without any UI) -//***************************************************************************************************************** + struct ContentHandler { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: inline ContentHandler( ) { impl_clear(); } @@ -312,9 +312,9 @@ struct ContentHandler inline ContentHandler& operator= ( const ContentHandler& rCopy ) { return impl_copy( rCopy ); } inline void free ( ) { impl_clear(); } - //------------------------------------------------------------------------------------------------------------- + // private methods - //------------------------------------------------------------------------------------------------------------- + private: inline void impl_clear() @@ -330,33 +330,33 @@ struct ContentHandler return (*this); } - //------------------------------------------------------------------------------------------------------------- + // public member - //------------------------------------------------------------------------------------------------------------- + public: OUString sName ; OUStringList lTypes ; }; -//***************************************************************************************************************** + // We need different hash maps for different tables of our configuration management. // Follow maps convert <names> to <properties> of type, filter, detector, loader ... // and could be used in a generic way -//***************************************************************************************************************** + template< class HashType > class SetNodeHash : public ::boost::unordered_map< OUString , HashType , OUStringHash , ::std::equal_to< OUString > > { - //------------------------------------------------------------------------------------------------------------- + // interface - //------------------------------------------------------------------------------------------------------------- + public: - //--------------------------------------------------------------------------------------------------------- + // The only way to free ALL memory really! - //--------------------------------------------------------------------------------------------------------- + inline void free() { SetNodeHash().swap( *this ); @@ -365,48 +365,48 @@ class SetNodeHash : public ::boost::unordered_map< OUString , lRemovedItems.free(); } - //--------------------------------------------------------------------------------------------------------- + // Append changed, added or removed items to special lists // Necessary for saving changes - //--------------------------------------------------------------------------------------------------------- + void appendChange( const OUString& sName , EModifyState eState ); - //------------------------------------------------------------------------------------------------------------- + // member - //------------------------------------------------------------------------------------------------------------- + public: OUStringList lAddedItems ; OUStringList lChangedItems ; OUStringList lRemovedItems ; }; -//***************************************************************************************************************** + // Use these hashes to implement different tables which assign types to frame loader or detect services. // It's an optimism to find registered services faster! // The preferred hash maps file extensions to preferred types to find these ones faster. -//***************************************************************************************************************** + class PerformanceHash : public ::boost::unordered_map< OUString , OUStringList , OUStringHash , ::std::equal_to< OUString > > { public: - //--------------------------------------------------------------------------------------------------------- + // try to free all used memory REALY! - //--------------------------------------------------------------------------------------------------------- + inline void free() { PerformanceHash().swap( *this ); } - //--------------------------------------------------------------------------------------------------------- + // normaly a complete string must match our hash key values ... // But sometimes we need a search by using these key values as pattern! // The in/out parameter "pStepper" is used to return a pointer to found element in hash ... // and could be used for further searches again, which should be started at next element! // We stop search at the end of hash. You can start it again by setting it to the begin by himself. - //--------------------------------------------------------------------------------------------------------- + inline sal_Bool findPatternKey( const OUString& sSearchValue , const_iterator& pStepper ) { @@ -435,9 +435,9 @@ class PerformanceHash : public ::boost::unordered_map< OUString } }; -//***************************************************************************************************************** + // Define easy usable types -//***************************************************************************************************************** + typedef SetNodeHash< FileType > FileTypeHash ; typedef SetNodeHash< Filter > FilterHash ; typedef SetNodeHash< Detector > DetectorHash ; @@ -452,9 +452,9 @@ typedef CheckedIterator< PerformanceHash > CheckedPerfo typedef ::std::vector< FilterHash::const_iterator > FilterQuery ; -//***************************************************************************************************************** + // Use private static data container to hold all values of configuration! -//***************************************************************************************************************** + class DataContainer : private ThreadHelpBase { public: @@ -586,7 +586,7 @@ class DataContainer : private ThreadHelpBase sal_Bool m_bHandlersModified ; }; -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short capsulate configuration access for fiter configuration @descr We use the ConfigItem mechanism to read/write values from/to configuration. This implementation could be used to handle standard AND additional filter configurations in the same way. @@ -602,9 +602,9 @@ class DataContainer : private ThreadHelpBase *//*-*************************************************************************************************************/ class FilterCFGAccess : public ::utl::ConfigItem { - //------------------------------------------------------------------------------------------------------------- + // interface - //------------------------------------------------------------------------------------------------------------- + public: FilterCFGAccess ( const OUString& sPath , sal_Int32 nVersion = DEFAULT_FILTERCACHE_VERSION , @@ -628,9 +628,9 @@ class FilterCFGAccess : public ::utl::ConfigItem void setProductName ( OUStringHashMap& lUINames ); void resetProductName ( OUStringHashMap& lUINames ); - //------------------------------------------------------------------------------------------------------------- + // internal helper - //------------------------------------------------------------------------------------------------------------- + private: void impl_initKeyCounts ( ); // set right key counts, which are used at reading/writing of set node properties void impl_removeNodes ( OUStringList& rChangesList , // helper to remove list of set nodes @@ -650,9 +650,9 @@ class FilterCFGAccess : public ::utl::ConfigItem void impl_saveLoaders ( DataContainer& rData ); void impl_saveContentHandlers ( DataContainer& rData ); - //------------------------------------------------------------------------------------------------------------- + // debug checks - //------------------------------------------------------------------------------------------------------------- + private: static sal_Bool implcp_ctor ( const OUString& sPath , // methods to check incoming parameter on our interface methods! sal_Int32 nVersion , @@ -660,9 +660,9 @@ class FilterCFGAccess : public ::utl::ConfigItem static sal_Bool implcp_read ( const DataContainer& rData ); static sal_Bool implcp_write( const DataContainer& rData ); - //------------------------------------------------------------------------------------------------------------- + // member - //------------------------------------------------------------------------------------------------------------- + private: EFilterPackage m_ePackage ; // ... not really used yet! should split configuration in STANDARD and ADDITIONAL filter sal_Int32 m_nVersion ; // file format version of configuration! (necessary for "xml2xcd" transformation!) diff --git a/framework/inc/classes/framecontainer.hxx b/framework/inc/classes/framecontainer.hxx index a53a007a9185..0866a5e986f6 100644 --- a/framework/inc/classes/framecontainer.hxx +++ b/framework/inc/classes/framecontainer.hxx @@ -46,7 +46,7 @@ typedef ::std::vector< css::uno::Reference< css::frame::XFrame > > TFrameContai typedef TFrameContainer::iterator TFrameIterator ; typedef TFrameContainer::const_iterator TConstFrameIterator ; -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short implement a container to hold children of frame, task or desktop @descr Every object of frame, task or desktop hold reference to his children. These container is used as helper to do this. Some helper-classe like OFrames or OTasksAccess use it to. They hold a pointer to an instance @@ -62,7 +62,7 @@ typedef TFrameContainer::const_iterator TConstFrameI *//*-*************************************************************************************************************/ class FrameContainer : private ThreadHelpBase { - //_______________________________________ + // member private: @@ -72,7 +72,7 @@ class FrameContainer : private ThreadHelpBase /// one container item can be the current active frame. Its necessary for Desktop or Frame implementation. css::uno::Reference< css::frame::XFrame > m_xActiveFrame; - //_______________________________________ + // interface public: diff --git a/framework/inc/classes/propertysethelper.hxx b/framework/inc/classes/propertysethelper.hxx index a99e8a140b1f..a297628b67be 100644 --- a/framework/inc/classes/propertysethelper.hxx +++ b/framework/inc/classes/propertysethelper.hxx @@ -36,7 +36,7 @@ namespace framework{ -//_________________________________________________________________________________________________________________ + /** supports the API XPropertySet and XPropertySetInfo. * @@ -50,13 +50,13 @@ namespace framework{ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet , public css::beans::XPropertySetInfo { - //------------------------------------------------------------------------- + /* types */ protected: typedef BaseHash< css::beans::Property > TPropInfoHash; - //------------------------------------------------------------------------- + /* member */ protected: @@ -73,11 +73,11 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet LockHelper& m_rLock; TransactionManager& m_rTransactionManager; - //------------------------------------------------------------------------- + /* native interface */ public: - //--------------------------------------------------------------------- + /** initialize new instance of this helper. * * @param pExternalLock @@ -97,12 +97,12 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet TransactionManager* pExternalTransactionManager , sal_Bool bReleaseLockOnCall ); - //--------------------------------------------------------------------- + /** free all needed memory. */ virtual ~PropertySetHelper(); - //--------------------------------------------------------------------- + /** set a new owner for this helper. * * This owner is used as source for all broadcasted events. @@ -110,7 +110,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet */ void impl_setPropertyChangeBroadcaster(const css::uno::Reference< css::uno::XInterface >& xBroadcaster); - //--------------------------------------------------------------------- + /** add a new property info to the set of supported ones. * * @param aProperty @@ -128,7 +128,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet throw(css::beans::PropertyExistException, css::uno::Exception ); - //--------------------------------------------------------------------- + /** remove an existing property info from the set of supported ones. * * @param sProperty @@ -141,7 +141,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet throw(css::beans::UnknownPropertyException, css::uno::Exception ); - //--------------------------------------------------------------------- + /** mark the object as "useable for working" or "dead". * * This correspond to the lifetime handling implemented by the base class TransactionBase. @@ -151,7 +151,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet virtual void SAL_CALL impl_enablePropertySet(); virtual void SAL_CALL impl_disablePropertySet(); - //--------------------------------------------------------------------- + /** */ virtual void SAL_CALL impl_setPropertyValue(const OUString& sProperty, @@ -161,7 +161,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet virtual css::uno::Any SAL_CALL impl_getPropertyValue(const OUString& sProperty, sal_Int32 nHandle ) = 0; - //------------------------------------------------------------------------- + /* uno interface */ public: @@ -217,7 +217,7 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet virtual sal_Bool SAL_CALL hasPropertyByName(const OUString& sName) throw(css::uno::RuntimeException, std::exception); - //------------------------------------------------------------------------- + /* internal helper */ private: diff --git a/framework/inc/classes/protocolhandlercache.hxx b/framework/inc/classes/protocolhandlercache.hxx index c824832ae12f..ef27b690c57c 100644 --- a/framework/inc/classes/protocolhandlercache.hxx +++ b/framework/inc/classes/protocolhandlercache.hxx @@ -38,7 +38,7 @@ namespace framework{ #define SETNAME_HANDLER DECLARE_ASCII("HandlerSet" ) /// name of configuration set inside package #define PROPERTY_PROTOCOLS DECLARE_ASCII("Protocols" ) /// properties of a protocol handler -//_________________________________________________________________________________________________________________ + /** Programmer can register his own services to handle different protocols. @@ -58,7 +58,7 @@ struct FWI_DLLPUBLIC ProtocolHandler OUStringList m_lProtocols; }; -//_________________________________________________________________________________________________________________ + /** This hash use registered pattern of all protocol handlers as keys and provide her @@ -73,14 +73,14 @@ class FWI_DLLPUBLIC PatternHash : public BaseHash< OUString > PatternHash::iterator findPatternKey( const OUString& sURL ); }; -//_________________________________________________________________________________________________________________ + /** This hash holds protocol handler structs by her names. */ typedef BaseHash< ProtocolHandler > HandlerHash; -//_________________________________________________________________________________________________________________ + /** @short this hash makes it easy to find a protocol handler by using his uno implementation name. @@ -128,7 +128,7 @@ class FWI_DLLPUBLIC HandlerCache void takeOver(HandlerHash* pHandler, PatternHash* pPattern); }; -//_________________________________________________________________________________________________________________ + /** @short implements configuration access for handler configuration diff --git a/framework/inc/classes/taskcreator.hxx b/framework/inc/classes/taskcreator.hxx index cf0b5d70f2e1..aaef28cb5fd9 100644 --- a/framework/inc/classes/taskcreator.hxx +++ b/framework/inc/classes/taskcreator.hxx @@ -32,7 +32,7 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short a helper to create new tasks or sub frames for "_blank" or FrameSearchFlag::CREATE @descr There are different places to create new (task)frames. Its not easy to service this code! Thats the reason for this helper. He capsulate asynchronous/synchronous creation by calling @@ -43,13 +43,13 @@ namespace framework{ *//*-*************************************************************************************************************/ class TaskCreator : private ThreadHelpBase { - //_______________________ + // member private: css::uno::Reference< css::uno::XComponentContext > m_xContext; - //_______________________ + // interface public: @@ -59,7 +59,7 @@ class TaskCreator : private ThreadHelpBase css::uno::Reference< css::frame::XFrame > createTask( const OUString& sName , sal_Bool bVisible ); - //_______________________ + // helper private: diff --git a/framework/inc/classes/wildcard.hxx b/framework/inc/classes/wildcard.hxx index 088dd18eb043..ee6217f11271 100644 --- a/framework/inc/classes/wildcard.hxx +++ b/framework/inc/classes/wildcard.hxx @@ -24,7 +24,7 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short implement wildcard-mechanism for unicode @descr This class can be used to get information about the matching of a pattern to a given text. It's suitable for 8-Bit- AND 16-Bit-strings! @@ -39,17 +39,17 @@ namespace framework{ class Wildcard { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: - //--------------------------------------------------------------------------------------------------------- + // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** + + /*-**************************************************************************************************** @short standard ctor @descr We do nothing here. @@ -63,7 +63,7 @@ class Wildcard Wildcard(); - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short standard dtor @descr We do nothing here. @@ -77,11 +77,11 @@ class Wildcard virtual ~Wildcard(); - //--------------------------------------------------------------------------------------------------------- + // interface - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** + + /*-**************************************************************************************************** @short try to find an agreement between given text and searchpattern @descr You can use wildcards in pattern only! |