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.
22 lines
395 B
C++
22 lines
395 B
C++
9 years ago
|
#include <context.h>
|
||
|
#include "services.h"
|
||
|
#include "data/accservice.h"
|
||
|
#include "accserviceform.h"
|
||
|
#include "accservicegrid.h"
|
||
|
|
||
|
|
||
|
Services::Services()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
void Services::initServiceUi()
|
||
|
{
|
||
|
AccServiceGrid *grid = new AccServiceGrid();
|
||
|
AccServiceForm *form = new AccServiceForm();
|
||
|
|
||
|
m_service = new Service<AccService>;
|
||
|
m_ui = grid;
|
||
|
((AccServiceGrid *) m_ui)->setForm(form);
|
||
|
}
|
||
|
|