Logo Search packages:      
Sourcecode: calibre version File versions  Download package

calibre.customize.Plugin Class Reference
Inheritance diagram for calibre.customize.Plugin:
Collaboration diagram for calibre.customize.Plugin:

List of all members.

Public Member Functions

def __enter__
def __exit__
def __init__
def customization_help
def initialize
def is_customizable
def temporary_file

Public Attributes

 plugin_path
 site_customization
 sys_insertion_path

Static Public Attributes

tuple author = _('Unknown')
 can_be_disabled = True
tuple description = _('Does absolutely nothing')
tuple minimum_calibre_version = (0, 4, 118)
string name = 'Trivial Plugin'
int priority = 1
list supported_platforms = []
tuple type = _('Base')
tuple version = (1, 0, 0)

Private Attributes

 _sys_insertion_tdir

Detailed Description

A calibre plugin. Useful members include:

   * ``self.plugin_path``: Stores path to the zip file that contains
                           this plugin or None if it is a builtin
                           plugin
   * ``self.site_customization``: Stores a customization string entered
                                  by the user.

Methods that should be overridden in sub classes:

   * :meth:`initialize`
   * :meth:`customization_help`

Useful methods:

    * :meth:`temporary_file`

Definition at line 11 of file __init__.py.


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

Generated by  Doxygen 1.6.0   Back to index