From a1daf20d0fb4db8db464845e5cb5af8b2445c3e1 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 26 Jun 2017 18:06:57 +0300 Subject: [PATCH] Init appId. --HG-- branch : feature --- src/libs/vdxf/dxiface.cpp | 8 ++++++++ src/libs/vdxf/dxiface.h | 1 + 2 files changed, 9 insertions(+) diff --git a/src/libs/vdxf/dxiface.cpp b/src/libs/vdxf/dxiface.cpp index f55e774e5..2a76675cd 100644 --- a/src/libs/vdxf/dxiface.cpp +++ b/src/libs/vdxf/dxiface.cpp @@ -26,6 +26,7 @@ dx_iface::dx_iface(const std::string &file, VarMeasurement varMeasurement, VarIn InitLTypes(); InitLayers(); InitTextstyles(); + InitAppId(); } dx_iface::~dx_iface() @@ -252,6 +253,13 @@ void dx_iface::InitTextstyles() cData.textStyles.push_back(style); } +void dx_iface::InitAppId() +{ + DRW_AppId ai; + ai.name ="Valentina"; + cData.appIds.push_back(ai); +} + void dx_iface::AddEntity(DRW_Entity *e) { cData.mBlock->ent.push_back(e); diff --git a/src/libs/vdxf/dxiface.h b/src/libs/vdxf/dxiface.h index c3af08fe9..6b61f1e60 100644 --- a/src/libs/vdxf/dxiface.h +++ b/src/libs/vdxf/dxiface.h @@ -94,6 +94,7 @@ public: void InitLTypes(); void InitLayers(); void InitTextstyles(); + void InitAppId(); void AddEntity(DRW_Entity* e);