kleopatra
archivedefinition.h
Go to the documentation of this file.
74 const QStringList & extensions( GpgME::Protocol p ) const { checkProtocol(p); return m_extensions[p]; }
76 boost::shared_ptr<Input> createInputFromPackCommand( GpgME::Protocol p, const QStringList & files ) const;
77 ArgumentPassingMethod packCommandArgumentPassingMethod( GpgME::Protocol p ) const { checkProtocol(p); return m_packCommandMethod[p]; }
79 boost::shared_ptr<Output> createOutputFromUnpackCommand( GpgME::Protocol p, const QString & file, const QDir & wd ) const;
86 static std::vector< boost::shared_ptr<ArchiveDefinition> > getArchiveDefinitions( QStringList & errors );
89 void setPackCommandArgumentPassingMethod( GpgME::Protocol p, ArgumentPassingMethod method ) { checkProtocol(p); m_packCommandMethod[p] = method; }
90 void setExtensions( GpgME::Protocol p, const QStringList & extensions ) { checkProtocol(p); m_extensions[p] = extensions; }
97 virtual QStringList doGetPackArguments( GpgME::Protocol p, const QStringList & files ) const = 0;
ArgumentPassingMethod
Definition: archivedefinition.h:63
void checkProtocol(GpgME::Protocol p) const
Definition: archivedefinition.cpp:379
ArgumentPassingMethod packCommandArgumentPassingMethod(GpgME::Protocol p) const
Definition: archivedefinition.h:77
virtual ~ArchiveDefinition()
Definition: archivedefinition.cpp:305
const QStringList & extensions(GpgME::Protocol p) const
Definition: archivedefinition.h:74
ArchiveDefinition(const QString &id, const QString &label)
Definition: archivedefinition.cpp:298
boost::shared_ptr< Output > createOutputFromUnpackCommand(GpgME::Protocol p, const QString &file, const QDir &wd) const
Definition: archivedefinition.cpp:345
static QString installPath()
Definition: archivedefinition.cpp:68
void setPackCommandArgumentPassingMethod(GpgME::Protocol p, ArgumentPassingMethod method)
Definition: archivedefinition.h:89
static void setInstallPath(const QString &ip)
Definition: archivedefinition.cpp:78
boost::shared_ptr< Input > createInputFromPackCommand(GpgME::Protocol p, const QStringList &files) const
Definition: archivedefinition.cpp:316
void setExtensions(GpgME::Protocol p, const QStringList &extensions)
Definition: archivedefinition.h:90
Definition: archivedefinition.h:57
static std::vector< boost::shared_ptr< ArchiveDefinition > > getArchiveDefinitions()
Definition: archivedefinition.cpp:354
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.