LeechCraft Monocle  0.6.70-6645-gcd10d7e
Modular document viewer for LeechCraft
LeechCraft::Monocle::IKnowFileExtensions Class Referenceabstract

Interface for backend plugins providing default extensions for their relevant file types. More...

#include "iknowfileextensions.h"

Classes

struct  ExtInfo
 Describes a single typical file type. More...
 

Public Member Functions

virtual QList< ExtInfoGetKnownFileExtensions () const =0
 Returns the list of supported typical file extensions. More...
 

Protected Member Functions

virtual ~IKnowFileExtensions ()
 

Detailed Description

Interface for backend plugins providing default extensions for their relevant file types.

This interface is used by Monocle core to know which file types with which extensions can be handled. It may then, for example, provide separate filters for each of the document types in a file open dialog.

For example, a PDF backend plugin may know that PDF documents typically has .pdf extension.

Definition at line 50 of file iknowfileextensions.h.

Constructor & Destructor Documentation

virtual LeechCraft::Monocle::IKnowFileExtensions::~IKnowFileExtensions ( )
inlineprotectedvirtual

Definition at line 53 of file iknowfileextensions.h.

Member Function Documentation

virtual QList<ExtInfo> LeechCraft::Monocle::IKnowFileExtensions::GetKnownFileExtensions ( ) const
pure virtual

Returns the list of supported typical file extensions.

Returns
The list of ExtInfo objects.

The documentation for this class was generated from the following file: