plugin.cpp 639 Bytes
Newer Older
Sylvain Thery's avatar
Sylvain Thery committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
#include "plugin.h"

#include <GL/glew.h>

namespace CGoGN
{

namespace SCHNApps
{

Plugin::Plugin() : m_schnapps(NULL)
{
	glewInit();
}

Plugin::~Plugin()
{}


//const QString& Plugin::getName() const
//{ /*return m_name; */return QString("pipo");}

QString Plugin::getName()
{ return m_name; }

QString Plugin::getFilePath()
{ return m_filePath; }

SCHNApps* Plugin::getSCHNApps()
{ return m_schnapps; }


void Plugin::setName(const QString& name)
{ m_name = name; }

void Plugin::setFilePath(const QString& f)
{ m_filePath = f; }

void Plugin::setSCHNApps(SCHNApps* s)
{ m_schnapps = s; }

} // namespace SCHNApps

} // namespace CGoGN