Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34252237
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
View Options
diff --git a/src/resolver/resolver.h b/src/resolver/resolver.h
index b686bc5..994b709 100644
--- a/src/resolver/resolver.h
+++ b/src/resolver/resolver.h
@@ -1,60 +1,60 @@
#ifndef RESOLVER_H
#define RESOLVER_H
/* Copyright (C) 2018 by Intevation GmbH <info@intevation.de>
*
* This file is free software under the GNU GPL (v>=2)
* and comes with ABSOLUTELY NO WARRANTY!
* See LICENSE.txt for details.
*/
#include <QApplication>
+#include <QStringList>
#include <memory>
class QCommandLineParser;
-class QStringList;
class QString;
/** @brief Resolver Application entry point.
*
* The Resolver application exists to resolve Mailboxes
* to key fingerprints. A typical task for a MUA.
*
* The main user of this app is GpgOL so it is tailored
* to GpgOL's needs.
*
* This is the global qApp singleton. */
class Resolver: public QApplication
{
Q_OBJECT
public:
/** Create a new Application obejct. You have to
* make sure to call init afterwards to get a valid object.
* This is to delay initialisation after the UniqueService
* call is done and our init / call might be forwarded to
* another instance. */
explicit Resolver(int &argc, char *argv[]);
static Resolver *instance()
{
return static_cast<Resolver*> (qApp);
}
/** Starts a new instance or a command from the command line.
*
* Handles the parser options and starts the according commands.
* The parser should have been initialized with options and
* already processed.
*
* @param parser: The command line parser to use.
*
* @returns an empty QString on success. A error message otherwise.
* */
QString newInstance(const QCommandLineParser &parser);
private:
class Private;
std::shared_ptr<Private> d;
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Dec 24, 10:45 PM (22 h, 39 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
30/60/436940efcc6f2720526adf006e6b
Attached To
rGTO Gpg4win-Tools
Event Timeline
Log In to Comment