kde-extraapps/kdevelop/projectmanagers/custommake/custommakemodelitems.h
2015-07-26 14:23:17 +03:00

32 lines
933 B
C++

/* KDevelop Custom Makefile Support
*
* Copyright 2007 Dukju Ahn <dukjuahn@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*/
#ifndef CUSTOMMAKEMODELITEMS_H
#define CUSTOMMAKEMODELITEMS_H
#include <project/projectmodel.h>
class CustomMakeTargetItem : public KDevelop::ProjectTargetItem
{
public:
CustomMakeTargetItem( KDevelop::IProject *project, const QString &name, ProjectBaseItem*parent=NULL );
virtual KUrl::List includeDirectories() const;
virtual QHash<QString, QString> environment() const;
virtual QList<QPair<QString, QString> > defines() const;
private:
KUrl::List m_includeDirs;
QHash<QString, QString> m_envs;
QList<QPair <QString, QString> > m_defines;
};
#endif