bump product version to 4.1.6.2
[LibreOffice.git] / include / sfx2 / minfitem.hxx
blobfb06ffc1e97903f593e4c4e3437eb943f005d0f1
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef _SFX_MINFITEM_HXX
20 #define _SFX_MINFITEM_HXX
22 #include "sal/config.h"
23 #include "sfx2/dllapi.h"
24 #include <tools/string.hxx>
25 #include <svl/poolitem.hxx>
26 class BasicManager;
28 class SFX2_DLLPUBLIC SfxMacroInfoItem: public SfxPoolItem
30 const BasicManager* pBasicManager;
31 String aLibName;
32 String aModuleName;
33 String aMethodName;
34 String aCommentText;
36 public:
37 TYPEINFO();
38 SfxMacroInfoItem( sal_uInt16 nWhich,
39 const BasicManager* pMgr,
40 const String &rLibName,
41 const String &rModuleName,
42 const String &rMethodName,
43 const String &rComment);
45 SfxMacroInfoItem( const SfxMacroInfoItem& );
47 virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
48 virtual int operator==( const SfxPoolItem& ) const;
49 String GetComment() const
50 { return aCommentText; }
51 void SetComment( const String& r )
52 { aCommentText = r; }
53 String GetMethod() const
54 { return aMethodName; }
55 void SetMethod( const String& r )
56 { aMethodName = r; }
57 String GetModule() const
58 { return aModuleName; }
59 void SetModule( const String& r )
60 { aModuleName = r; }
61 String GetLib() const
62 { return aLibName; }
63 void SetLib( const String& r )
64 { aLibName = r; }
65 const BasicManager* GetBasicManager() const
66 { return pBasicManager; }
67 String GetQualifiedName() const;
70 #endif
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */