LeechCraft Monocle 0.6.70-17335-ge406ffdcaf
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
ilink.h File Reference
#include <memory>
#include <QObject>
#include <QMetaType>
#include <QUrl>
#include "coordsbase.h"
+ Include dependency graph for ilink.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::Monocle::NavigationAction
 A link action that represents navigating inside the document. More...
 
struct  LC::Monocle::ExternalNavigationAction
 A link action that represents navigating to a different document. More...
 
struct  LC::Monocle::UrlAction
 
struct  LC::Monocle::NoAction
 
class  LC::Monocle::ILink
 Base interface for links. More...
 

Namespaces

namespace  LC
 
namespace  LC::Monocle
 

Typedefs

using LC::Monocle::CustomAction = std::function<void ()>
 
using LC::Monocle::LinkAction = std::variant<NoAction, NavigationAction, ExternalNavigationAction, UrlAction, CustomAction>
 
typedef std::shared_ptr< ILinkLC::Monocle::ILink_ptr
 

Enumerations

enum class  LC::Monocle::LinkType { LC::Monocle::PageLink , LC::Monocle::URL , LC::Monocle::Command , LC::Monocle::OtherLink }
 Describes various link types known to Monocle. More...