1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: scimpexpmsg.hxx,v $
10 * $Revision: 1.4.32.2 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef SC_SCIMPEXPMSG_HXX
32 #define SC_SCIMPEXPMSG_HXX
35 #include <tools/string.hxx>
36 #include <tools/solar.h>
38 //UNUSED2008-05 enum ScImpExpMsg
40 //UNUSED2008-05 SC_IMPEXPMSG_UNKNOWN
44 //UNUSED2008-05 class String;
47 //UNUSED2008-05 class ScImpExpLogMsg
49 //UNUSED2008-05 private:
50 //UNUSED2008-05 ScImpExpMsg eId;
51 //UNUSED2008-05 String* pPos;
52 //UNUSED2008-05 String* pHint;
53 //UNUSED2008-05 protected:
54 //UNUSED2008-05 public:
55 //UNUSED2008-05 ScImpExpLogMsg( ScImpExpMsg eId );
56 //UNUSED2008-05 ScImpExpLogMsg( ScImpExpMsg eId, const String& rPosition );
57 //UNUSED2008-05 ScImpExpLogMsg( ScImpExpMsg eId, const String& rPosition, const String& rAdditionalHint );
58 //UNUSED2008-05 ScImpExpLogMsg( const ScImpExpLogMsg& rCpy );
59 //UNUSED2008-05 virtual ~ScImpExpLogMsg();
61 //UNUSED2008-05 ScImpExpLogMsg& operator =( const ScImpExpLogMsg& rCpy );
63 //UNUSED2008-05 void Set( ScImpExpMsg eId, const String* pPos = NULL, const String* pHint = NULL );
65 //UNUSED2008-05 inline ScImpExpMsg GetId( void ) const;
66 //UNUSED2008-05 inline const String* GetPos( void ) const;
67 //UNUSED2008-05 inline const String* GetHint( void ) const;
69 //UNUSED2008-05 static String GetMsg( ScImpExpMsg eId );
70 //UNUSED2008-05 inline String GetMsg( void ) const;
76 //UNUSED2008-05 inline ScImpExpLogMsg& ScImpExpLogMsg::operator =( const ScImpExpLogMsg& r )
78 //UNUSED2008-05 Set( r.eId, r.pPos, r.pHint );
79 //UNUSED2008-05 return *this;
83 //UNUSED2008-05 inline ScImpExpMsg ScImpExpLogMsg::GetId( void ) const
85 //UNUSED2008-05 return eId;
89 //UNUSED2008-05 inline const String* ScImpExpLogMsg::GetPos( void ) const
91 //UNUSED2008-05 return pPos;
95 //UNUSED2008-05 inline const String* ScImpExpLogMsg::GetHint( void ) const
97 //UNUSED2008-05 return pHint;
101 //UNUSED2008-05 inline String ScImpExpLogMsg::GetMsg( void ) const
103 //UNUSED2008-05 return GetMsg( eId );