LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/sfx2 - minfitem.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 15 0.0 %
Date: 2012-12-27 Functions: 0 9 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       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/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      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 .
      18             :  */
      19             : #ifndef _SFX_MINFITEM_HXX
      20             : #define _SFX_MINFITEM_HXX
      21             : 
      22             : #include "sal/config.h"
      23             : #include "sfx2/dllapi.h"
      24             : #include <tools/string.hxx>
      25             : #include <svl/poolitem.hxx>
      26             : class BasicManager;
      27             : 
      28           0 : class SFX2_DLLPUBLIC SfxMacroInfoItem: public SfxPoolItem
      29             : {
      30             :     const BasicManager*     pBasicManager;
      31             :     String                  aLibName;
      32             :     String                  aModuleName;
      33             :     String                  aMethodName;
      34             :     String                  aCommentText;
      35             : 
      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);
      44             : 
      45             :     SfxMacroInfoItem( const SfxMacroInfoItem& );
      46             : 
      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           0 :     String                  GetMethod() const
      54           0 :                                 { return aMethodName; }
      55           0 :     void                    SetMethod( const String& r )
      56           0 :                                 { aMethodName = r; }
      57           0 :     String                  GetModule() const
      58           0 :                                 { return aModuleName; }
      59           0 :     void                    SetModule( const String& r )
      60           0 :                                 { aModuleName = r; }
      61           0 :     String                  GetLib() const
      62           0 :                                 { return aLibName; }
      63           0 :     void                    SetLib( const String& r )
      64           0 :                                 { aLibName = r; }
      65           0 :     const BasicManager*     GetBasicManager() const
      66           0 :                             { return pBasicManager; }
      67             :     String                  GetQualifiedName() const;
      68             : };
      69             : 
      70             : #endif
      71             : 
      72             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10