~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/visualizator/visualizator/commands/pdfextractercommand.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  
3
 
 *  $Id: PDFExtracterCommandParameters.h $
4
 
 *  Ginkgo CADx Project
5
 
 *
6
 
 *  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
7
 
 *  http://ginkgo-cadx.com
8
 
 *
9
 
 *  This file is licensed under LGPL v3 license.
10
 
 *  See License.txt for details
11
 
 *
12
 
 *
13
 
 */
14
 
#pragma once
15
 
//#define _GINKGO_TRACE
16
 
#include <vector>
17
 
#include <api/globals.h>
18
 
#include <api/icommand.h>
19
 
 
20
 
 
21
 
namespace GNKVisualizator {
22
 
        namespace GADAPI {
23
 
                class PDFExtracterCommandParameters : public GNC::GCS::IComandoParams {
24
 
                public:
25
 
                        PDFExtracterCommandParameters(const std::list<std::string>& rutas, const std::list<std::string>& dests = std::list<std::string>(), bool forOpening = true) ;
26
 
 
27
 
                        virtual ~PDFExtracterCommandParameters() ;
28
 
 
29
 
                public:
30
 
                        std::vector<std::string> m_pathsOriginal;
31
 
                        std::vector<std::string> m_pathsExtracted;
32
 
                        bool m_error;
33
 
                        bool m_ForOpening;
34
 
                };
35
 
 
36
 
 
37
 
                class PDFExtracterCommand : public GNC::GCS:: IComando {
38
 
                public:
39
 
                        PDFExtracterCommand(PDFExtracterCommandParameters* pParams);
40
 
 
41
 
                 protected:
42
 
                        virtual void Execute();
43
 
 
44
 
                        virtual void Update();
45
 
 
46
 
                        virtual void OnAbort();
47
 
 
48
 
                        void LiberarRecursos();
49
 
 
50
 
                        PDFExtracterCommandParameters* m_pExtracterParameters;
51
 
                };
52
 
        }
53
 
}