You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
560 B
C++

#include <context.h>
#include "accommodation.h"
#include <QDebug>
#include "accommodationform.h"
#include "data/person.h"
#include "accommodationservice.h"
Accommodation::Accommodation()
{
}
QString Accommodation::pluginName()
{
return "Ubytovani";
}
void Accommodation::init(const QJsonObject &metaData)
{
qDebug() << "init accomodation" << metaData;
m_ui = new AccommodationForm();
AccommodationService *service = new AccommodationService();
m_service = service;
}
QString Accommodation::pluginId()
{
return "ACCOMMODATION";
}