mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
28 lines
616 B
C++
28 lines
616 B
C++
#include "HederaTopic.h"
|
|
//#include "../model/hedera/Transaction.h"
|
|
|
|
namespace controller {
|
|
HederaTopic::HederaTopic(model::table::HederaTopic* dbModel)
|
|
{
|
|
mDBModel = dbModel;
|
|
}
|
|
HederaTopic::~HederaTopic()
|
|
{
|
|
|
|
}
|
|
|
|
Poco::AutoPtr<HederaTopic> HederaTopic::create(const std::string& name, int autoRenewAccountId, int autoRenewPeriod, int groupId)
|
|
{
|
|
auto db = new model::table::HederaTopic(name, autoRenewAccountId, autoRenewPeriod, groupId);
|
|
|
|
auto hedera_topic = new HederaTopic(db);
|
|
return Poco::AutoPtr<HederaTopic>(hedera_topic);
|
|
}
|
|
|
|
|
|
|
|
Poco::UInt64 HederaTopic::hederaCreateTopic()
|
|
{
|
|
return 0;
|
|
}
|
|
} |