Changeset View
Changeset View
Standalone View
Standalone View
phplanguagesupport.h
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | |||||
60 | */ | 60 | */ | ||
61 | class LanguageSupport : public KDevelop::IPlugin, public KDevelop::ILanguageSupport | 61 | class LanguageSupport : public KDevelop::IPlugin, public KDevelop::ILanguageSupport | ||
62 | { | 62 | { | ||
63 | Q_OBJECT | 63 | Q_OBJECT | ||
64 | Q_INTERFACES(KDevelop::ILanguageSupport) | 64 | Q_INTERFACES(KDevelop::ILanguageSupport) | ||
65 | 65 | | |||
66 | public: | 66 | public: | ||
67 | explicit LanguageSupport(QObject *parent, const QVariantList& args = QVariantList()); | 67 | explicit LanguageSupport(QObject *parent, const QVariantList& args = QVariantList()); | ||
68 | virtual ~LanguageSupport(); | 68 | ~LanguageSupport() override; | ||
69 | /*Name Of the Language*/ | 69 | /*Name Of the Language*/ | ||
70 | QString name() const override; | 70 | QString name() const override; | ||
71 | /*Parsejob used by background parser to parse given Url*/ | 71 | /*Parsejob used by background parser to parse given Url*/ | ||
72 | KDevelop::ParseJob *createParseJob(const KDevelop::IndexedString& url) override; | 72 | KDevelop::ParseJob *createParseJob(const KDevelop::IndexedString& url) override; | ||
73 | 73 | | |||
74 | static LanguageSupport* self(); | 74 | static LanguageSupport* self(); | ||
75 | /*the code highlighter*/ | 75 | /*the code highlighter*/ | ||
76 | KDevelop::ICodeHighlighting* codeHighlighting() const override; | 76 | KDevelop::ICodeHighlighting* codeHighlighting() const override; | ||
Show All 20 Lines |