[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin_qtbase/HuginModule.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00032 namespace HuginQt {
00033 
00034     
00035 class HuginModule : public QObject
00036 {
00037     
00038 public:
00039     HuginModule(QObject* parent = NULL);
00040     virtual ~HuginModule() {}
00041     
00042 public:
00043     virtual HuginModuleInstance* newModuleInstance(QADocument* document) =0;
00044     
00045 public:
00046     virtual QString moduleID() =0;
00047     virtual QString moduleName() =0;
00048     virtual QStringList supportedDocumentTemplateIDs() =0;
00049     
00050 };
00051 
00052 
00053 class HuginModuleInstance : public QObject
00054 {
00055     
00056 public:
00057     HuginModuleInstance(QADocument* document);
00058     virtual ~HuginModuleInstance() {}
00059     
00060 public:
00061     virtual HuginModule* module() =0;
00062     
00063 public slot:
00064     virtual void updateFromData() =0;
00065     
00066 protected:
00067     virtual registerViews(HuginDocumentViewManager* viewManager) =0;
00068     
00069 };
00070     
00071 
00072 } //namespace

Generated on Mon Sep 20 01:01:27 2010 for Hugintrunk by doxygen 1.3.9.1