LCOV - code coverage report
Current view: top level - desktop/source/deployment/gui - license_dialog.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-08-25 Functions: 0 2 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     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 INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_LICENSE_DIALOG_HXX
      20                 :            : #define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_LICENSE_DIALOG_HXX
      21                 :            : 
      22                 :            : #include "dp_gui.h"
      23                 :            : #include "cppuhelper/implbase1.hxx"
      24                 :            : #include "com/sun/star/lang/XServiceInfo.hpp"
      25                 :            : #include "com/sun/star/task/XJobExecutor.hpp"
      26                 :            : #include "com/sun/star/ui/dialogs/XExecutableDialog.hpp"
      27                 :            : 
      28                 :            : #include "boost/bind.hpp"
      29                 :            : 
      30                 :            : using namespace ::dp_misc;
      31                 :            : using namespace ::com::sun::star;
      32                 :            : using namespace ::com::sun::star::uno;
      33                 :            : using ::rtl::OUString;
      34                 :            : 
      35                 :            : namespace dp_gui {
      36                 :            : 
      37                 :          0 : class LicenseDialog
      38                 :            :     : public ::cppu::WeakImplHelper1<ui::dialogs::XExecutableDialog>
      39                 :            : {
      40                 :            :     Reference<XComponentContext> const m_xComponentContext;
      41                 :            :     Reference<awt::XWindow> /* const */ m_parent;
      42                 :            :     OUString m_sExtensionName;
      43                 :            :     OUString /* const */ m_sLicenseText;
      44                 :            :     OUString m_initialTitle;
      45                 :            : 
      46                 :            :     sal_Int16 solar_execute();
      47                 :            : 
      48                 :            : public:
      49                 :            :     LicenseDialog( Sequence<Any> const & args,
      50                 :            :                  Reference<XComponentContext> const & xComponentContext );
      51                 :            : 
      52                 :            :     // XExecutableDialog
      53                 :            :     virtual void SAL_CALL setTitle( OUString const & title )
      54                 :            :         throw (RuntimeException);
      55                 :            :     virtual sal_Int16 SAL_CALL execute() throw (RuntimeException);
      56                 :            : };
      57                 :            : }
      58                 :            : #endif
      59                 :            : 
      60                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10