LCOV - code coverage report
Current view: top level - writerperfect/inc - WPFTEncodingDialog.hxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 2 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 1 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             : /* MSWorksImportFilter: Sets up the filter, and calls DocumentCollector
       3             :  * to do the actual filtering
       4             :  *
       5             :  * This file is part of the LibreOffice project.
       6             :  *
       7             :  * This Source Code Form is subject to the terms of the Mozilla Public
       8             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       9             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
      10             :  */
      11             : 
      12             : #ifndef INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX
      13             : #define INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX
      14             : 
      15             : #include <sal/types.h>
      16             : 
      17             : #include <vcl/button.hxx>
      18             : #include <vcl/dialog.hxx>
      19             : #include <vcl/lstbox.hxx>
      20             : 
      21             : #include <writerperfectdllapi.h>
      22             : 
      23             : namespace writerperfect
      24             : {
      25             : 
      26             : class WRITERPERFECT_DLLPUBLIC WPFTEncodingDialog : public ModalDialog
      27             : {
      28             : public:
      29             :     WPFTEncodingDialog(const OUString &title, const OUString &defEncoding);
      30             : 
      31             :     virtual ~WPFTEncodingDialog();
      32             : 
      33             :     OUString GetEncoding() const;
      34           0 :     bool hasUserCalledCancel() const
      35             :     {
      36           0 :         return m_userHasCancelled;
      37             :     }
      38             : private:
      39             :     VclPtr<ListBox> m_pLbCharset;
      40             :     VclPtr<OKButton>           m_pBtnOk;
      41             :     VclPtr<CancelButton>           m_pBtnCancel;
      42             : 
      43             :     bool m_userHasCancelled;
      44             : private:
      45             :     DECL_LINK(DoubleClickHdl, ListBox *);
      46             :     DECL_LINK(CancelHdl, void *);
      47             : 
      48             :     void dispose() SAL_OVERRIDE;
      49             : 
      50             :     WPFTEncodingDialog(WPFTEncodingDialog const &) SAL_DELETED_FUNCTION;
      51             :     WPFTEncodingDialog &operator=(WPFTEncodingDialog const &) SAL_DELETED_FUNCTION;
      52             : };
      53             : 
      54             : }
      55             : 
      56             : #endif
      57             : 
      58             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11