Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/shell/shellextension.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 42 | public: | |||
---|---|---|---|---|---|
64 | /**Reimplement to return the filename extension for project files.*/ | 64 | /**Reimplement to return the filename extension for project files.*/ | ||
65 | virtual QString projectFileExtension() = 0; | 65 | virtual QString projectFileExtension() = 0; | ||
66 | 66 | | |||
67 | /**Reimplement to return the description for project files.*/ | 67 | /**Reimplement to return the description for project files.*/ | ||
68 | virtual QString projectFileDescription() = 0; | 68 | virtual QString projectFileDescription() = 0; | ||
69 | 69 | | |||
70 | /** | 70 | /** | ||
71 | * Reimplement to return the list of plugins that should | 71 | * Reimplement to return the list of plugins that should | ||
72 | * automatically be loaded | 72 | * loaded by default. | ||
73 | * If an empty list is returned, instead the plugin metadata is fallen back to, | ||||
74 | * by reading the bool value KPlugin/EnabledByDefault (default: true). | ||||
73 | */ | 75 | */ | ||
74 | virtual QStringList defaultPlugins() = 0; | 76 | virtual QStringList defaultPlugins() = 0; | ||
75 | 77 | | |||
76 | protected: | 78 | protected: | ||
77 | ShellExtension(); | 79 | ShellExtension(); | ||
78 | static ShellExtension *s_instance; | 80 | static ShellExtension *s_instance; | ||
79 | }; | 81 | }; | ||
80 | 82 | | |||
81 | } | 83 | } | ||
82 | #endif | 84 | #endif | ||
83 | 85 | |