LCOV - code coverage report
Current view: top level - libreoffice/sfx2/inc/sfx2 - minfitem.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 Functions: 0 2 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             :     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;
      68             : };
      69             : 
      70             : #endif
      71             : 
      72             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10