You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
516 B
42 lines
516 B
#ifndef _API_H_
|
|
#define _API_H_
|
|
|
|
|
|
#include "kdevapi.h"
|
|
|
|
|
|
class CodeModel;
|
|
|
|
/**
|
|
API implementation.
|
|
*/
|
|
class API : public KDevApi
|
|
{
|
|
public:
|
|
|
|
virtual KDevMainWindow *mainWindow() const;
|
|
virtual KDevPartController *partController() const;
|
|
virtual KDevPluginController *pluginController() const;
|
|
virtual KDevCore *core() const;
|
|
virtual CodeModel *codeModel() const;
|
|
|
|
static API *getInstance();
|
|
|
|
~API();
|
|
|
|
protected:
|
|
|
|
API();
|
|
|
|
private:
|
|
|
|
static API *s_instance;
|
|
|
|
CodeModel *m_classStore;
|
|
|
|
|
|
};
|
|
|
|
|
|
#endif
|