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

« back to all changes in this revision

Viewing changes to src/cadxcore/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 GADAPI {
 
22
        class PDFExtracterCommandParameters : public GNC::GCS::IComandoParams {
 
23
        public:
 
24
                PDFExtracterCommandParameters(const std::list<std::string>& rutas, const std::list<std::string>& dests = std::list<std::string>(), bool forOpening = true) ;
 
25
 
 
26
                virtual ~PDFExtracterCommandParameters() ;
 
27
 
 
28
        public:
 
29
                std::vector<std::string> m_pathsOriginal;
 
30
                std::vector<std::string> m_pathsExtracted;
 
31
                bool m_error;
 
32
                bool m_ForOpening;
 
33
        };
 
34
 
 
35
 
 
36
        class PDFExtracterCommand : public GNC::GCS:: IComando {
 
37
        public:
 
38
                PDFExtracterCommand(PDFExtracterCommandParameters* pParams);
 
39
 
 
40
                protected:
 
41
                virtual void Execute();
 
42
 
 
43
                virtual void Update();
 
44
 
 
45
                virtual void OnAbort();
 
46
 
 
47
                void LiberarRecursos();
 
48
 
 
49
                PDFExtracterCommandParameters* m_pExtracterParameters;
 
50
        };
 
51
}