From 83a6bec6e7cf16dea26400ab9ca2c530e238bf2e Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Mon, 23 Aug 2004 08:03:09 +0000 Subject: INTEGRATION: CWS tune03 (1.3.748); FILE MERGED 2004/07/19 19:11:31 mhu 1.3.748.1: #i29979# Added SW_DLLPUBLIC/PRIVATE (see swdllapi.h) to exported symbols/classes. --- sw/source/ui/inc/toxmgr.hxx | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) (limited to 'sw/source/ui/inc/toxmgr.hxx') diff --git a/sw/source/ui/inc/toxmgr.hxx b/sw/source/ui/inc/toxmgr.hxx index 2983bb948424..b50321d21006 100644 --- a/sw/source/ui/inc/toxmgr.hxx +++ b/sw/source/ui/inc/toxmgr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: toxmgr.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: obo $ $Date: 2004-08-12 13:08:28 $ + * last change: $Author: rt $ $Date: 2004-08-23 09:03:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,7 +62,12 @@ #ifndef _TOXMGR_HXX #define _TOXMGR_HXX +#ifndef INCLUDED_SWDLLAPI_H +#include "swdllapi.h" +#endif +#ifndef _TOX_HXX #include "tox.hxx" +#endif #ifndef _AUTHFLD_HXX #include #endif @@ -75,7 +80,7 @@ class SwForm; --------------------------------------------------------------------*/ //one single method will be sufficient to insert AND upate indexes -class SwTOXDescription +class SW_DLLPUBLIC SwTOXDescription { TOXTypes eTOXType; String aStyleNames[MAXLEVEL]; @@ -106,9 +111,15 @@ class SwTOXDescription //TODO: TemplateNames //const String* pTemplateName = 0, ??? + + // forbidden and not implemented. + SwTOXDescription(); SwTOXDescription(SwTOXDescription&); + SwTOXDescription & operator= (SwTOXDescription&); + public: - SwTOXDescription(TOXTypes eType) : + // single argument ctors shall be explicit. + explicit SwTOXDescription(TOXTypes eType) : eTOXType(eType), pTitle(0), pForm(0), @@ -228,8 +239,14 @@ class SwTOXMarkDescription String* pPhoneticReadingOfPrimKey; String* pPhoneticReadingOfSecKey; + // forbidden and not implemented. + SwTOXMarkDescription(); + SwTOXMarkDescription(SwTOXMarkDescription&); + SwTOXMarkDescription & operator= (SwTOXMarkDescription&); + public: - SwTOXMarkDescription(TOXTypes eType) : + // single argument ctors shall be explicit. + explicit SwTOXMarkDescription(TOXTypes eType) : eTOXType(eType), pPrimKey(0), pSecKey(0), @@ -291,16 +308,18 @@ public: const String* GetPhoneticReadingOfSecKey() const { return pPhoneticReadingOfSecKey; } }; -class SwTOXMgr +class SW_DLLPUBLIC SwTOXMgr { SwWrtShell* pSh; SwTOXMark* pCurTOXMark; SwTOXMarks aCurMarks; - USHORT GetUserTypeID(const String& rStr); + SW_DLLPRIVATE USHORT GetUserTypeID(const String& rStr); public: - SwTOXMgr(SwWrtShell* pShell); + // single argument ctors shall be explicit. + explicit SwTOXMgr(SwWrtShell* pShell); + // // Methoden fuer Verzeichnismarkierungen // -- cgit