Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,45 @@
|
||||
// **************************************************************************
|
||||
//
|
||||
// (C) Copyright 2009 Swiss SIMTEC AG
|
||||
//
|
||||
// **************************************************************************
|
||||
// $HeadURL$
|
||||
// $LastChangedBy$
|
||||
// $LastChangedDate$
|
||||
//
|
||||
// Implementation of the Class AppComponent
|
||||
// **************************************************************************
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include "IAppComponent.hpp"
|
||||
#include <PrtCnv/prtcnvlib_export.h>
|
||||
|
||||
namespace NGL {
|
||||
class Settings;
|
||||
}
|
||||
|
||||
namespace N_AppComponent
|
||||
{
|
||||
class PRTCNVLIB_EXPORT AppComponent : public N_AppComponent::IAppComponent
|
||||
{
|
||||
public:
|
||||
AppComponent() = default;
|
||||
~AppComponent() = default;
|
||||
|
||||
|
||||
int32_t create(NGL::Settings *settings) override;
|
||||
int32_t deinit() override;
|
||||
int32_t destroy() override;
|
||||
int32_t init() override;
|
||||
int32_t start() override;
|
||||
int32_t stop() override;
|
||||
|
||||
protected:
|
||||
void addChild(IAppComponent* a_child, const QString& a_name = QString());
|
||||
IAppComponent* getChild(const QString& a_name);
|
||||
private:
|
||||
std::vector<IAppComponent*> m_Childs;
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user